version 6.5.4
WR GET DATE AND TIME FORMAT (area; dateFormat; timeFormat)
Parameter | Type | Description | |
area | Longint | 4D Write area | |
dateFormat | Integer | Number of the date format | |
timeFormat | Integer | Number of the time format |
Description
The command WR GET DATE AND TIME FORMAT allows you to determine the display format of a selected dynamic date and/or time.
The dateFormat parameter returns the date format number for the inserted reference.
dateFormat | Name | Value |
<no date> | 0 | |
6/01/00 | (Short) | 1 |
Thu 6 Jan 2000 | (Abbreviated) | 2 |
Thursday 6 January 2000 | (Long) | 3 |
01/06/2000 | (MM DD YYYY) | 4 |
January 6, 2000 | (Month Day Year) | 5 |
Jan 6, 2000 | (Abbr Month Day) | 6 |
06/01/2000 | (MM DD YYYY forced) | 7 |
The timeFormat parameter returns the time format number for the inserted reference.
timeFormat | Value |
<no hour> | 0 |
HH:MM:SS | 1 |
HH:MM | 2 |
HH hours MM minutes SS seconds | 3 |
HH hours MM minutes | 4 |
HH:MM AM PM | 5 |
See Also