Previous Topic: &ZUCENAME

Next Topic: &ZUDAY


&ZUDATEn

A set of system variables that return the user's date, in different formats, time zone adjusted.

Use:&ZUDATE1 to &ZUDATE17 (excluding &ZUDATE15) are system variables that supply the current user's date, adjusted by time zone, in a variety of formats:

where:

DAY

The day of the week as follows:

DD

The day of the month as a 2-digit number

DDD

The Julian day within the year as a 3-digit number

MM

The month of the year as a 2-digit number

MON

The month of the year as follows:

nnnnnn

The number of days from 1 January 0001 with no leading zeros

YYYY

The current year as a 4-digit number

YY

The current year as a 2-digit number

Z

Greenwich Mean Time (GMT)

FFFFFF

The time accurate to 10-6

Example: &ZUDATE3

&FILEDATE = &ZUDATE3

Note: Use of &ZUDATE11 should be avoided, to reduce unnecessary overhead, if microsecond accuracy is not required. Each access to &ZUDATE11 causes the system to refetch and synchronize time with the operating system, to format the result to microsecond accuracy.