Mar. 7th, 2003

mithriltabby: Mushroom cloud (Nuke)
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 2024

S M T W T F S
  12345
6789 101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

  • Style: Midnight for Heads Up by momijizuakmori

Expand Cut Tags

No cut tags
Page generated Jul. 15th, 2025 01:30 pm
Powered by Dreamwidth Studios