Validity: Rule, Task
This variable allows you to customize the date and time format in:
•AH_GET_S function
•DATE2TM device command
•TM2DATE device command
•SYSTEM_LOG file header created with the predefined variable SYS_LOG
•SYSTEM_DUMP file header created with the predefined variable SYS_DUMP
|
date_format = value
|
|
|
|
|
Bit 0:
|
Bit 1:
|
0
|
0
|
1
|
0
|
0
|
1
|
|
0x0003:
|
0x0000
|
0x0001
|
0x0002
|
|
Formato data:
|
Day Month Year
|
Year Month Day
|
Month Day Year
|
|
Bit 2
|
0x0004
|
Digits per Year: TRUE 4, FALSE 2
|
Bit 3
|
0x0008
|
Digits per Month: TRUE 1, FALSE 1 or 2
|
Bit 4
|
0x0010
|
Digits per Day: TRUE 1, FALSE 1 or 2
|
Bit 5
|
0x0020
|
Spacing: TRUE 0 spaces, FALSE with spacing
|
Bit 6
|
0x0040
|
Time Format: TRUE 12 H, FALSE 24 H
|
Bit 7
|
0x0080
|
Digits per Time(hr,min,sec): TRUE 1, FALSE 1 or 2
|
Bit 8:
|
Bit 9:
|
Bit 10:
|
0
|
0
|
0
|
1
|
0
|
0
|
0
|
1
|
0
|
1
|
1
|
0
|
0
|
0
|
1
|
1
|
0
|
1
|
|
0x0700:
|
0x0000
|
0x0100
|
0x0200
|
0x0300
|
0x0400
|
0x0500
|
|
Date separator:
|
/
|
/
|
-
|
.
|
space
|
none
|
|
Bit 11
|
0x0800
|
-
|
Bit 12:
|
Bit 13:
|
0
|
0
|
1
|
0
|
0
|
1
|
1
|
1
|
|
0x3000:
|
0x0000
|
0x1000
|
0x2000
|
0x3000
|
|
Time separator:
|
:
|
:
|
space
|
none
|
|
|
|
Nonretentive
|
Example