Formats a date value using a custom format string.



1.DateFormat - Name of the Macro.

2.Date Time String - A string representing the date time to use for the macro. If blank or not supplied, the current date is used.

3.Output Format String - A string used to format the date. If not supplied yyyy-MM-ddTHH:mm:ss.fffffffK is used.

4.Input Format String - A string that represents the format of the source date time string - only necessary when the date provided is not in a standard format.




Returns the current date time in the macro's default format.



Returns the date 1-Jan-2000 in the macro's default format.



Returns four digit year of the current date time.



Returns four digit year from the date 1-Feb-1923.



For a complete list of formatting options see the Date and Time Format Strings topic elsewhere in help.


Copyright © 2023 pasUNITY, Inc.


Send comments on this topic.