(go to: table of contents, index, list of vms_lib, prev: GET_COMMON, next: GET_EF)
GET_DATE_FORMAT - Get the User's Date Input Format
Format:
status, context, format-string = \
vms_lib.get_date_format ([user-context])
Returns:
Arguments:
Examples:
>>> import vms_lib
>>> print vms_lib.get_date_format ()
(1, None, 'DD-MONTH-YYYY4 HH:MM:SS.CC2')
>>>
>>> import vms_libdtdef
>>> context = 0
>>> format = "|JJJJ|MM|TT|ST|MI|SE|HU| |MONAT|"
>>> context = vms_lib.init_date_time_context (context,
... vms_libdtdef.LIB_K_FORMAT_MNEMONICS, format)
>>>
>>> print vms_lib.get_date_format (context)
(1, 2755576, 'TT-MONAT-JJJJ4 ST:MI:SE.HU2')
>>>
(go to: table of contents,
index,
list of vms_lib,
prev: GET_COMMON,
next: GET_EF)