ASN.1
Previous: Useful Types Up: Useful Types Next: UTCTime


GeneralizedTime

  Type GeneralizedTime takes values of the year, month, day, hour, time, minute,second, and second fraction in any of three forms.

  1. Local time only. ``YYYYMMDDHHMMSS.fff'', where the optional fff is accurate to three decimal places.
  2. Universal time (UTC time) only. ``YYMMDDHHMMSS.fffZ''.
  3. Difference between local and UTC times. ``YYYYMMDDHHMMSS.fff+-HHMM''.

The type notation is the keyword GeneralizedTime. For example, if

    CurrentTime  ::=  GeneralizedTime

then any of the following three values of CurrentTime are valid: ``20001231235959.999'' is 1/1000 second before the end of the 20th century local time; ``20001231205959.999Z'' is the universal time three hours different from the above local time; and ``20001231235959.999+0300'' indicates the local time is three hours ahead of universal time.


This site was developed from:
Computer Networks and Open Systems
An Application Development Perspective

by
Lillian N. Cassel
Richard H. Austing

Jones & Bartlett Publisher
ISBN 0-7637-1122-5

This site is hosted by:


Real World ASN.1 and XML Solutions