Hacker News new | ask | show | jobs
by jonny_eh 1309 days ago
When does the 100ns-tick overflow?
1 comments

There are a few different time types in Win32, the one I was talking about is FILETIME: https://learn.microsoft.com/en-us/windows/win32/sysinfo/abou...

FILETIME is a nominally unsigned 64-bt value. 1601-01-01 + 2^64 * 100ns = 60056-05-28. That is, Sunday May 28, 60056.

Chuckling at the thought of people who things around the year 60040 getting nervous... nobody knows how to deal with Windows or C any more, but much essential software has run for 58000+ years, and it's about to crash.