Edward Welbourne wrote:
Indeed, on Unix, time_t is signed and modern GLibc / Linux functions using it are perfectly happy with values across the whole range of the type (which extends to well before the big bang).
Thanks for the detailed explanation. Yes, it's rather confusing with such timestamps on Windows. E.g. in some 'tcpdump' tests there are NTP timestamp from 1934 which 'strftime()' on Glibc handles fine. But not on Windows. -- --gv