Add a day/second offset to a UTC struct tm in place.
Declared in <openssl/crypto.h>
int
OPENSSL_gmtime_adj(
tm* tm,
int offset_day,
long offset_sec);
1 on success, or 0 on error.
| Name | Description |
|---|---|
| tm | Time value to adjust (UTC). |
| offset_day | Number of days to add (may be negative). |
| offset_sec | Number of seconds to add (may be negative). |