compute ASN.1 to UTC time without time functions