ASN.1 DATE-TIME tag: 33

The ASN.1 DATE-TIME type is used to represent a date and time value. Values have the form "YYYY-MM-DDTHH:MM:SS".


When ::= DATE-TIME
DATE-TIME encoding example
DateTime  ::= DATE-TIME
zero DateTime  ::= "1951-10-14T15:30:00"

In BER, the DATE-TIME type value defined in the example above is encoded as follows:

1F21 0E 3139353131303134313533303030


The DATE-TIME type can be constrained by a single value, by type inclusion, by property constraints, and by time point range constraints.

Related Topics