Jump to content
Ian Branch

How to get the actual UTC time??

Recommended Posts

9 hours ago, Fr0sT.Brutal said:

What makes you think timezone plays a role here?

Because it dictates which offset is used for calculating UTC from the PC's location.  For example, a PC clock set to 12:00PM PST is going to report a different UTC time than if its clock were set to 12:00PM EST instead.

Edited by Remy Lebeau

Share this post


Link to post
15 hours ago, Remy Lebeau said:

Because it dictates which offset is used for calculating UTC from the PC's location.  For example, a PC clock set to 12:00PM PST is going to report a different UTC time than if its clock were set to 12:00PM EST instead.

Well - yes. T_loc = T_utc + TZ where T_loc and TZ are configurable. So even if T_loc is correct, T_utc will be incorrect with incorrect TZ. What I meant is that TZ change won't affect T_utc.

Btw, any time sync utility will likely show that T_utc is wrong in this case.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×