|
|||||
function | ymdhms-adjust-time-zone |
Other Library Functions |
Library: Date and Time
Include: omdate.xin |
Returns: String
Returns the adjusted date/time in "YYYYMMDDhhmmss+ZHZM" format. |
define stream function ymdhms-adjust-time-zone value stream ymdhms to-be value stream new-zone
This function takes a date/time and a time zone, returning the date/time adjusted to the given time zone. The returned date/time is also in the "YYYYMMDDhhmmss+ZHZM" format.
Arguments:
Example:
process local stream new-time set new-time to ymdhms-adjust-time-zone "19980416154929+0000" to-be "+0500" output new-time || "%n"
---- |