Hello, I am trying to write a script that will return the time difference between two locations in the world. My problem is handling the Daylight Saving Time modifications to clocks in just some areas in the world, since not everybody uses it, and also the dates in which the changes take place are different. I have searched on google for the last few days, and I have to say I am very confused about how to do what I want. It seems some solutions only work on Unix servers due to some functions that do not work right on windows, and each solution I have seen uses a different time standard: UTC, GMT, DST, etc...
I just want to know if someone here has had the same problem and if they know of an existing solution or a straightforward way to solve it. I don't really care what method is used, I just want to have the time right for any location on Earth
Thanks in advance!
I just want to know if someone here has had the same problem and if they know of an existing solution or a straightforward way to solve it. I don't really care what method is used, I just want to have the time right for any location on Earth
Thanks in advance!