function
Library: Date and time functions (OMDATE)
Include: omdate.xin |
Returns: Returns a |
define string function now-as-ymdhms
Use now-as-ymdhms
fetch the current date and time in a standard, normalized YYYYMMDDhhmmss+ZHZM
format format.
The following program uses now-as-ymdhms
to obtain the current date, which it then outputs.
include "omdate.xin" process local string ymdhms set ymdhms to now-as-ymdhms output "Current date = " || ymdhms || "%n"
To use now-as-ymdhms
, you must include the following code near the top of your program:
include "omdate.xin"