win32process.GetProcessTimes returns PyTime objects which are off by time.timezone seconds. It appears that Windows returns a UTC time, but this is interpreted as if it were a local time.
See attached example which demonstrates the bug.
A similar problem probably exists with the win32process.GetThreadTimes function.
Log in to post a comment.