Converted to use unsigned long long for millisecond values.