|
||||||||||
|
|
||||||||||
| Other Library Functions | ||||||||||
| function | ymdhms-to-arpadate |
Available in:
Professional Enterprise |
|
Library: omdate - date and time functions
Include: omdate.xin |
Return type: String Returns: Returns the specified date in standard ARPA/Internet RFC-822 format. |
define stream function ymdhms-to-arpadate value stream ymdhms
This function takes a date/time in "YYYYMMDDhhmmss+ZHZM" format and returns it in standard ARPA/Internet RFC-822 format.
Argument:
Example:
include "omdate.xin"
process
output "Current date and time, in arpa format = "
|| ymdhms-to-arpadate now-as-ymdhms
|| "%n"
; The result of this program on February 19, 2001:
; Current date and time, in ARPA format = Mon, 19 Feb 2001 13:51:39 -0500
| ---- |