A set of system variables that return the date, in different formats, based on Greenwich Mean Time (GMT).
&ZGDATE1 to &ZGDATE17 (excluding &ZGDATE15) are system variables that supply the current date, based on GMT, in the following formats:
where:
Is the day of the week as follows:
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
Is the day of the month as a two-digit number.
is the Julian day within the year as a three-digit number.
Is the month of the year as a two-digit number.
Is the month of the year as follows:
January
February
March
April
May
June
July
August
September
October
November
December
Is the number of days from 1 January 0001 with no leading zeros.
Is the current year as a four-digit number.
Is the current year as a two-digit number.
Is GMT.
Is the time accurate to 10-6.
Example: &ZGDATEn
&FILEDATE = &ZGDATE3
Note: If microsecond accuracy is not required, avoid using &ZGDATE11 to reduce unnecessary overhead. Each access to &ZGDATE11 causes the system to re-fetch and synchronize time with the operating system, to format the result to microsecond accuracy.
| Copyright © 2009 CA. All rights reserved. |
|