Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article describes a problem where the value returned by GetTickCount
resets to zero
after approximately 776 days.
Symptoms
The time returned by the GetTickCount function resets from 0x9FFFFFF0
to zero
if the system runs continuously for approximately 776 days.
This problem occurs in 32-bit applications running on Windows 8, Windows Server 2012, and later.
Status
Microsoft has confirmed this problem is fixed in Windows 11, version 24H2 and Windows Server 2025.
Workaround
Use the GetTickCount64 function instead.
More information
This problem isn't related to the behavior described in the GetTickCount function documentation, where the time wraps around from 0xFFFFFFFF
to zero
if the system runs continuously for 49.7 days.
The number of days before this problem occurs may vary depending on the resolution of the system timer. The problem occurs after approximately 776 days on systems whose system timer resolution is 15.6 milliseconds.