[#ASN1_TIME_diff] = ASN1_TIME_diff :mrdocs: Compute the day and second difference between two ASN.1 time values. == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int ASN1_TIME_diff( int* pday, int* psec, xref:ASN1_TIME.adoc[ASN1_TIME] const* from, xref:ASN1_TIME.adoc[ASN1_TIME] const* to); ---- == Return Value 1 on success, or 0 if either time is invalid. == Parameters [cols="1,4"] |=== | Name| Description | *pday* | Receives the whole‐day difference (`to` minus `from);` may be NULL. | *psec* | Receives the remaining seconds difference beyond `pday;` may be NULL. | *from* | Starting time. | *to* | Ending time. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#