1 2.. _useful.UTCTime: 3 4.. |ASN.1| replace:: UTCTime 5 6.. |encoding| replace:: iso-8859-1 7 8|ASN.1| type 9------------ 10 11.. autoclass:: pyasn1.type.useful.UTCTime(value=NoValue(), tagSet=TagSet(), subtypeSpec=ConstraintsIntersection(), encoding='us-ascii') 12 :members: isValue, isSameTypeWith, isSuperTypeOf, tagSet, asDateTime, fromDateTime 13 14 .. note:: 15 16 The |ASN.1| type models a character string representing date and time. 17 18 Formal syntax for the *UTCTime* value is: 19 20 * **YYMMDDhhmm[ss]** standing for UTC time, two 21 digits for the year, two for the month, two for the day and two 22 for the hour, followed by two digits for the minutes and two 23 for the seconds if required or 24 25 * a string as above followed by the letter “Z” (denoting a UTC 26 time) or 27 28 * a string as above followed by a string **(+|-)hhmm** denoting 29 time zone offset relative to UTC 30 31 For example, *170126120000Z* which stands for YYMMDDHHMMSSZ. 32 33 .. automethod:: pyasn1.type.useful.UTCTime.clone(self, value=NoValue(), tagSet=TagSet(), subtypeSpec=ConstraintsIntersection(), encoding='us-ascii') 34 .. automethod:: pyasn1.type.useful.UTCTime.subtype(self, value=NoValue(), implicitTag=TagSet(), explicitTag=TagSet(),subtypeSpec=ConstraintsIntersection(), encoding='us-ascii') 35