Developing Apama Applications > Dashboard Function Reference > Scalar Functions > Duration
Duration
Returns a string representing the specified duration in the specified format.
Arguments
This function has the following arguments:
*Duration: Numeric value specifying the duration, in milliseconds, to be formatted.
*Duration Format: Text string specifying the format of the function result. This string may contain 0 or more of the characters d, s, and . (for example ds) indicating that days, seconds, or milliseconds are to be included, in addition to hours and minutes, in the returned string. If no Duration Format is specified, the string is returned in the form exemplified by 15:32 (hours:minutes).
The function returns a text string.
Copyright © Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its Subsidiaries and or/its Affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.