contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
function   ymdhms-second-difference    
      Other Library Functions  

Library: Date and Time
Include: omdate.xin
Returns: Numeric

Returns the number of seconds difference between two specified dates.

Declaration

  define counter function ymdhms-second-difference
              (value stream a, value stream b)


Purpose

This function takes two date/time strings and returns the number of seconds difference between them. The two dates can be in different time zones.

Arguments:

Example:

  process
     local counter elapsed-seconds
     set elapsed-seconds to ymdhms-second-difference ("19710401080000+0000", "19980416155545+0500")
     output "%d(elapsed-seconds) seconds have elapsed between the specified dates/times.%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.