0 Replies Latest reply on Aug 26, 2001 3:01 PM by 3004

    What is UNIAPI_TIME?

    3004

      The definition of UNIAPI_TIME is Jan 1, 1991, 00:01:00
      (one minute past midnight).

      An example of understanding the UNIAPI_TIME 526265 as the equivelant for the
      date January 1st of 1992 at 11:05 AM GMT, would be:

      The calculation is 11*60 (11 hours times 60 minutes).
      For 24 hours that would be 24*60 (1440)
      For months with 31 days, it's 1440*31 (44640)
      And for a months of 30 days, it would add 1440*30 (43200)
      For months with 31 days, add 1440*31 (44640)
      For a year with 365 days add 1440*365 (525600)
      For a year with 366 days, add 1440*366 (527040)

      Year 1991 had 365 days.
      January 1st of 1992 at 11:05 AM GMT would be in uniapi time:
      1440*365 + 11*60 + 5 = 525600 + 660 + 5 = 526265