2012

Table Of Contents
$(edtime). Format phrases are defined as shown in the following table. Assume
that the date and time are Saturday, 5 September 1998 4:53:17.506.
edtime format phrases
OutputFormatOutputFormat
4H5D
04HH05DD
53MMSatDDD
17SSSaturdayDDDD
506MSEC9M
AMAM/PM09MO
amam/pmSepMON
AA/PSeptemberMONTH
aa/p98YY
1998YYYY
Enter the entire AM/PM phrase as shown in the preceding table; if AM is used
alone, the A will be read literally and the M will return the current month.
If any AM/PM phrases appear in the picture, the H and HH phrases edit the time
according to the 12-hour civil clock (12:00-12:59 1:00-11:59) instead of the
24-hour clock (00:00-23:59).
The following example uses the date and time from the preceding table. Notice
that the comma must be enclosed in quotation marks because it is read as an
argument separator.
$(edtime, $(getvar,date),DDD"," DD MON YYYY - H:MMam/pm)
It returns the following:
68 | Chapter 5 DIESEL