ASN.1 TIME-OF-DAY tag: 32

Time types are derived from the character string type VisibleString. Their value notation is the same as that for VisibleString. The ASN.1 TIME-OF-DAY type is used to represent a particular time of day. Values have the form "HH:MM:SS".

Example

TimeStamp ::= TIME-OF-DAY
TIME-OF-DAY encoding example
TimeOfDay ::= TIME-OF-DAY
dawn TimeOfDay ::= "06:30:00"

In BER, the TIME-OF-DAY type values defined in the example above are encoded as follows:

1F20 06 303633303030

Constraints

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

Related Topics