datetime.datetime(2017, 9, 30, 22, 7, 50)
>>> UTCTime(datetime(2057, 9, 30, 22, 7, 50)).todatetime()
datetime.datetime(1957, 9, 30, 22, 7, 50)
+
+ .. warning::
+
+ No BER encodings are supported. Only DER.
"""
__slots__ = ()
tag_default = tag_encode(23)
>>> t = GeneralizedTime(datetime(2057, 9, 30, 22, 7, 50))
GeneralizedTime GeneralizedTime 2057-09-30T22:07:50
+ .. warning::
+
+ No BER encodings are supported. Only DER.
+
.. warning::
Only microsecond fractions are supported.