Apama 10.7.2 | Building and Using Apama Dashboards | Dashboard Function Reference | Scalar Functions | Date Format
 
Date Format
Returns a string representing the specified date in the specified format.
Arguments
This function has the following arguments:
*Date: Text string specifying the date to be formatted. This must be either a formatted date/time string or a Java standard date/time argument in milliseconds from Jan 1, 1970.
*Date Format: Text string specifying the format of the function result. Specify a pattern string suitable for use with the Java SimpleDateFormat class. For example, the format MMMM dd, yyyy hh:mm:ss a results in dates of the form exemplified by August 30, 2003 05:32:12 PM. If no Date Format is given, the string is returned in the form exemplified by 08/30/03 05:32 PM.
The function returns a text string.