[#ASN1_UTCTIME_set] = ASN1_UTCTIME_set :mrdocs: Set an ASN1_UTCTIME to the calendar time `t` (allocating when `s` is NULL). == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:ASN1_UTCTIME.adoc[ASN1_UTCTIME]* ASN1_UTCTIME_set( xref:ASN1_UTCTIME.adoc[ASN1_UTCTIME]* s, time_t t); ---- == Return Value The UTCTIME on success (possibly newly allocated), or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *s* | Existing UTCTIME to reuse, or NULL to allocate a new one. | *t* | POSIX time (seconds since the Epoch). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#