[#ASN1_UTCTIME_adj]
= ASN1&lowbar;UTCTIME&lowbar;adj
:mrdocs:

Set an ASN1&lowbar;UTCTIME from `t` adjusted by a day&sol;second offset&period;

== Synopsis

Declared in `&lt;openssl&sol;asn1&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:ASN1_UTCTIME.adoc[ASN1&lowbar;UTCTIME]*
ASN1&lowbar;UTCTIME&lowbar;adj(
    xref:ASN1_UTCTIME.adoc[ASN1&lowbar;UTCTIME]* s,
    time&lowbar;t t,
    int offset&lowbar;day,
    long offset&lowbar;sec);
----

== Return Value

The UTCTIME on success (possibly newly allocated), or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| Existing UTCTIME to reuse, or NULL to allocate a new one&period;
| *t*
| Base calendar time (seconds since the Epoch)&period;
| *offset&lowbar;day*
| Days to add to `t` (may be negative)&period;
| *offset&lowbar;sec*
| Seconds to add after the day offset (may be negative)&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
