win32api.GetTickCount

int = GetTickCount()

Returns the number of milliseconds since windows started.