|
From: | Gisle Vanem |
Subject: | Re: Old timestamps in the future? |
Date: | Fri, 9 Dec 2022 18:53:39 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |