(PYVMS LOGO) Python on OpenVMS

(go to: table of contents, index, list of vms_sys, prev: GETMSG, next: GETUAI)


GETTIM - Returns the current system time in a 64-bit format


Format:
    timadr = vms_sys.gettim ()
Returns:
timadr
64-bit system time - a Python 'long integer'.
See GENMAN 'Programming', 'special OpenVMS datatypes' for details.
Arguments:

vms_sys.gettim() does not take any arguments.

Examples:

>>> import vms_sys

>>> q_bintim = vms_sys.gettim ()
>>> q_bintim
44096363555600000L

>>> vms_sys.asctim (q_bintim)
'12-AUG-1998 10:59:15.56'

>>> vms_sys.gettim (None)
Traceback (innermost last):
  File "<stdin>", line 1, in ?
TypeError: function requires exactly 0 arguments; 1 given

>>> vms_sys.gettim (1)
Traceback (innermost last):
  File "<stdin>", line 1, in ?
TypeError: function requires exactly 0 arguments; 1 given
>>>

(go to: table of contents, index, list of vms_sys, prev: GETMSG, next: GETUAI)

28-SEP-1998 ZE.