WR GET DATE AND TIME FORMAT

4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next

version 6.5.4


WR GET DATE AND TIME FORMAT (area; dateFormat; timeFormat)

ParameterTypeDescription
areaLongint4D Write area
dateFormatIntegerNumber of the date format
timeFormatIntegerNumber 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.

dateFormatNameValue
<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.

timeFormatValue
<no hour>0
HH:MM:SS1
HH:MM2
HH hours MM minutes SS seconds3
HH hours MM minutes4
HH:MM AM PM5

See Also

WR INSERT DATE AND TIME.


4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next