OPENSSL_gmtime

Convert a time_t to UTC broken-down time into caller-provided storage.

Synopsis

Declared in <openssl/crypto.h>

tm*
OPENSSL_gmtime(
    time_t const* timer,
    tm* result);

Return Value

result on success, or NULL on error.

Parameters

NameDescription
timerInstant to convert.
resultDestination struct tm (thread-safe alternative to gmtime()).