Apama 10.3.1 | Apama Documentation | Building and Using Apama Dashboards | Dashboard Function Reference | Scalar Functions | Correlator Time Format
 
Correlator Time Format
Converts a correlator timestamp to either epoch time in milliseconds or the specified date/time format.
Arguments
*Correlator Time: Correlator timestamp that you want to convert. This argument is required. If it is not specified or if the specified value is invalid the string "0" is returned and any specified formatting is not applied.
*Format: Optional. Leave this field blank to convert the correlator timestamp to epoch time. The returned value is in milliseconds. Or, specify a date/time pattern to use to format the correlator timestamp. You can specify any pattern format supported by the Java class SimpleDateFormat. If you specify an invalid value the string "0" is returned.
A correlator timestamp is in seconds with a decimal point before the milliseconds, for example, 1043189336.2.
This function returns a string.

Copyright © 2013-2019 | 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.