![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|||||
|
|
|||||
| function | format-ymdhms | ||||
| Other Library Functions |
|
Library: Date and Time
Include: omdate.xin |
Returns: String
The specified date in the indicated format. |
define stream function format-ymdhms value stream date-format
with-date value stream ymdhms
This function takes a date/time in "YYYYMMDDhhmmss+ZHZM" format and returns it formatted as for the OmniMark date operator.
Arguments:
date format modifiers (such as "=Y/=M/=D", etc)
Example:
output format-ymdhms "Now == =W, =xD =n =xY, =h:=m:=s =a.m. =t%n"
with-date now-as-ymdhms
| ---- |