[#ASN1_TIME_to_tm] = ASN1_TIME_to_tm :mrdocs: Convert an ASN.1 time value to a broken‐down UTC struct tm. == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int ASN1_TIME_to_tm( xref:ASN1_TIME.adoc[ASN1_TIME] const* s, tm* tm); ---- == Return Value 1 on success, or 0 if `s` is invalid. == Parameters [cols="1,4"] |=== | Name| Description | *s* | ASN1_TIME (UTCTime or GeneralizedTime) to convert. | *tm* | Destination calendar time in UTC; may be NULL to only validate `s.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#