FORMAT Property
9.0, PLBCMP GUI Only
The FORMAT property specifies the display format of an EDITDATETIME object. The property uses the following format:
FORMAT={value}
Note the following:
FORMAT may be used in CREATE or GETPROP statements of an EDITDATETIME object.
{value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:
|
Value |
Keyword |
The calendar is aligned ... |
|
0 |
$DEFAULT |
default (same as $DTFORMATSHORT). |
|
1 |
$DTFORMATLONG |
Displays the date in long format. The format string for this style is defined by LOCALE_SLONGDATEFORMAT that produces output like "Monday, August 25, 2003". |
|
2 |
$DTFORMATSHORT |
Displays the date in short format. The format string for this style is defined by LOCALE_SSHORTDATE that produces output like "8/25/03". |
|
3 |
$DTFORMATTIME |
Displays the time. The format string for this style is defined by LOCALE_STIMEFORMAT that produces output like "10:33:15 AM". |
|
4 |
$DTFORMATCUSTOM |
Displays the date and time in the format specified by the CUSTOMFORMAT property. |
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |