Function DisplayDate
Outputs a date with a specific format
DisplayDate([DATE],[FORMAT])Parameters
| # | Type | Passing | Default | Name | Description/Comments |
|---|---|---|---|---|---|
| 1 | datetime | required | n/a | DATE | The date to use |
| 2 | string | optional | dd/MM/yyyy hh:mm:ss | FORMAT | The 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}")}}
