Add a day/second offset to a UTC struct tm in place.
Synopsis
Declared in <openssl/crypto.h>
int
OPENSSL_gmtime_adj(
tm* tm,
int offset_day,
long offset_sec);
Return Value
1 on success, or 0 on error.
Parameters
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). |
Created with MrDocs