Download GM Instruction and programming

Transcript
3. Common Elements
▷
Capital and small letters are both available.
Content
Examples
T#14ms, T#14.7s, T#14.7m, T#14.7h
Duration (no underline)
t#14.7d, t#25h15m, t#5d14h12m18s356ms
3.1.2.3.2. Time of Day and Date
▷
There are three types expressing ‘Time of Day and Date’ as follows: Date; Time of Day; Date and
Time.
Content
Prefix as a reserved word
Date prefix
D#
Time of Day prefix
TOD#
Date and Time prefix
DT#
▷
The starting point of date is January 1st, 1984.
▷
There's a limit on 'Time of Day’ and ‘Date and Time', which is up to the third decimal place in the
‘ms’ unit.
▷
The overflow is not allowed for all the units when expressing ‘Time of Day’ and ‘Date and Time’.
Content
Examples
D#1984-06-25
Date
d#1984-06-25
TOD#15:36:55.36
Time of Day
tod#15:36:55.369
DT#1984-06-25-15:36:55.36
Date and Time
dt#1984-06-25-15:36:55.369
3-3