Provides different formats of the user's current time, time zone adjusted.
&ZUTIME1, &ZUTIME2, &ZUTIME3, &ZUTIME10, and &ZUTIME11 are system variables which supply the user's current time, time zone adjusted, in several different formats:
where:
is current hour of day (in 24-hour time)
is current minute
is current second
is hundredths of a second
is the time since midnight in hundredths of a second. Leading zeros are suppressed.
is the time accurate to 10 -6
Each access to &ZUTIME11 causes the system to refetch and synchronize time with the operating system, to format the result to microsecond accuracy. Unless you require this level of accuracy, you should avoid using the &ZUTIME11 option, to reduce unnecessary overheads.
| Copyright © 2009 CA. All rights reserved. |
|