Previous Topic: &ZFDBK

Next Topic: &ZGDAY


&ZGDATEn

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:

DAY

Is the day of the week as follows:

MON

Monday

TUE

Tuesday

WED

Wednesday

THU

Thursday

FRI

Friday

SAT

Saturday

SUN

Sunday

DD

Is the day of the month as a two-digit number.

DDD

is the Julian day within the year as a three-digit number.

MM

Is the month of the year as a two-digit number.

MON

Is the month of the year as follows:

JAN

January

FEB

February

MAR

March

APR

April

MAY

May

JUN

June

JUL

July

AUG

August

SEP

September

OCT

October

NOV

November

DEC

December

nnnnnn

Is the number of days from 1 January 0001 with no leading zeros.

YYYY

Is the current year as a four-digit number.

YY

Is the current year as a two-digit number.

Z

Is GMT.

FFFFFF

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.