Function DisplayDate

Outputs a date with a specific format

DisplayDate([DATE],[FORMAT])

Parameters

#TypePassingDefaultNameDescription/Comments
1datetimerequiredn/aDATEThe date to use
2stringoptionaldd/MM/yyyy hh:mm:ssFORMATThe format

Returns

The display for the date


Examples

Example of displaying the date only

{{DisplayDate(ALIAS.SDTIME,"{0:dd/MM/yyyy}")}}

Example of displaying the date and time

{{DisplayDate(ALIAS.SDTIME,"{0:dd/MM/yyyy hh:mm:ss}")}}

Example of displaying the date and time 24 hour format

{{DisplayDate(ALIAS.SDTIME,"{0:dd/MM/yyyy HH:mm:ss}")}}