ASN.1
Previous: GeneralizedTime Up: Useful Types Next: EXTERNAL


UTCTime

  UTCTime values take the form of either "YYMMDDhhmm[ss]Z" or "YYMMDDhhmm[ss](+|-)hhmm". The first form indicates (by the literal letter "Z") UTC time. The second form indicates a time that differs from UTC by plus or minus the hours and minutes represented by the final "hhmm".

These forms differ from GeneralizedTime in several notable ways: the year is represented by two digits rather than four, fractional seconds cannot be represented (note that seconds are still optional), and values not ending with either a literal "Z" or the form "(+|-)hhmm" are not permitted.

The value notation is the keyword UTCTime. For example, if

    NewTime  ::=  UTCTime

then "9912312359Z" represents the time one minutes before the end of the year 1999 (with no seconds indicated) in UTC time, and "991231235959+0200" represents the time one second before the end of 1999 two hours ahead of UTC 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