Compute the day/second difference between two broken-down UTC times.
Declared in <openssl/crypto.h>
int
OPENSSL_gmtime_diff(
int* pday,
int* psec,
tm const* from,
tm const* to);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| pday | Receives the whole-day difference (to - from). |
| psec | Receives the remaining second difference after whole days are removed. |
| from | Starting time (UTC). |
| to | Ending time (UTC). |