ASN.1 DATE tag: 31

The ASN.1 DATE type consists of a string value that has the form "YYYY-MM-DD", which represents a calendar date.


Day ::= DATE

Encoding DATE

Date ::= DATE
myDay Date ::= "2012-12-21"

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

1F1F 08 3230313231323231


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

Related Topics