(go to: table of contents, index, list of vms_sys, prev: ASCTOID, next: BINTIM)
ASCUTC - Convert UTC to ASCII
Format:
09-JAN-1999 ZE.
timbuf = vms_sys.ascutc (utcadr [,cvtflg])
Returns:
Arguments:
Examples:
0 = return full date and time
1 = return only hour, minute, second, hundredths-of-second
>>> import vms_sys
>>> utc_tim = vms_sys.getutc ()
>>> print utc_tim
21584378040929278433485881180047287456L
>>> print vms_sys.ascutc (utc_tim)
9-JAN-1999 20:01:58.89
>>> print vms_sys.asctim ()
9-JAN-1999 20:02:29.97
(go to: table of contents,
index,
list of vms_sys,
prev: ASCTOID,
next: BINTIM)