[#SSL_SESSION_set_time_ex]
= SSL&lowbar;SESSION&lowbar;set&lowbar;time&lowbar;ex
:mrdocs:

Set the session creation time as a time&lowbar;t (Y2038&hyphen;safe counterpart to SSL&lowbar;SESSION&lowbar;set&lowbar;time)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
time&lowbar;t
SSL&lowbar;SESSION&lowbar;set&lowbar;time&lowbar;ex(
    xref:SSL_SESSION.adoc[SSL&lowbar;SESSION]* s,
    time&lowbar;t t);
----

== Return Value

`t` on success, or 0 if `s` is NULL&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| Session to update&period;
| *t*
| Creation time in seconds since the Epoch&period;
|===


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