请输入您要查询的百科知识:

 

词条 GeneralizedTime
释义

  1. See also

{{Multiple issues|{{unreferenced|date=October 2012}}{{notability|date=October 2012}}}}

A GeneralizedTime is a time format in the ASN.1 notation.

It consists of a string value representing the calendar date, as defined in ISO 8601, a time of day with an optional fractional seconds element and the optional local time differential factor as defined in ISO 8601.

In contrast to the UTCTime class of ASN.1 the GeneralizedTime uses a four-digit representation of the year to avoid possible ambiguity.

Another difference is the possibility to encode time information of any wanted precision via the fractional seconds element.

Examples from ITU-T X.680:

"19851106210627.3"local time 6 minutes, 27.3 seconds after 9 pm on 6 November 1985."19851106210627.3Z"coordinated universal time as above."19851106210627.3-0500"local time as in the first example, with local time 5 hours retarded in relation to coordinated universal time.

ASN.1 also defines a DateAndTime time format widely used in SNMP, that includes separator characters and does not pad the fields (e.g., "1985-11-6,21:6:27.3,-5:0").

See also

  • The X.690 encoding standard for ASN.1

1 : ITU-T recommendations

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/12 4:37:23