contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
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.

Declaration

  define stream function ymdhms-adjust-time-zone value stream ymdhms
                                           to-be value stream new-zone


Purpose

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"

        Other Library Functions
   add-to-ymdhms
   arpadate-to-ymdhms
   format-ymdhms
   now-as-ymdhms
   round-down-ymdhms
   round-up-ymdhms
   ymd-weekday
   ymdhms-adjust-time-zone
   ymdhms-day-difference
   ymdhms-julian-day-count
   ymdhms-month-difference
   ymdhms-second-difference
   ymdhms-to-arpadate
 
----  

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:22 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.