mithriltabby: Mushroom cloud (Nuke)
[personal profile] mithriltabby
The classic UNIX way of keeping track of the current time is the number of seconds since midnight UTC, January 1, 1970. Win32 has a notion of “file time”, which is the number of 100-second intervals since midnight UTC, January 1, 1601. Now, a sensible thing for them to do would be to provide a constant for converting from one to the other, defined in a header file so you could just refer to it by name. (You can also do it by calling various functions, but there are times when you’d rather not pay the overhead of a function call.) Do Microsoft provide this constant? Not in a header file. It’s in the frelling MSDN documentation, but it’s not someplace that a programmer can refer to it where other programmers can recognize it as a predefined name.

October 2025

S M T W T F S
   1234
5678 91011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

  • Style: Midnight for Heads Up by momijizuakmori

Expand Cut Tags

No cut tags
Page generated Jan. 27th, 2026 04:32 am
Powered by Dreamwidth Studios