Windows Server 2003 Time
Posted on 2014-08-22
This is more of a question of WHY?
So I have a program that I wrote in VB.net which compares the system time "Now.Hour.ToString" and compares it to an hour that I have defined in my Config File. So for example IF Now.Hour.ToString = 15 my logic would call a function at 3:00 PM in the afternoon. Which I tested and worked great! Now I really want it to work at midnight...which for some reason the system time shows up as "0" instead of "24" which I had in my config file so my function never ran.
Why does the Windows Server 2003 or any Windows server for that matter show midnight at "0" instead of "24"?
Just curious...I will change the value in my config file to "0"...but still wanted to know why Windows is using zero instead of 24.