Building and Using 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.
Copyright © 2013-2015 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.