Internet Date Question
Posted: Wed Jan 02, 2013 8:51 pm
How is the time zone figured when using "internet date"?
I have manually changed the timezone on my Mac from Eastern to Pacific, and the change is not reflected in the internet date, so it must be something else. I can't imagine it actually pings a site on the web because it would require a persistent internet connection, and the documentation for the date function says nothing about that.
The reason I'm asking is because I'm trying to do some time manipulation with existing data. It is converted from seconds to a date and saved on my server, but when people in other time zones (I am in Eastern) view the date, it's always off (by 3 hours in the Pacific example). I know the correct way would be to store the seconds, and have Livecode do the manipulation, but I wanted to see if there was a way I can do it without totally destroying the data I already have stored.
I have manually changed the timezone on my Mac from Eastern to Pacific, and the change is not reflected in the internet date, so it must be something else. I can't imagine it actually pings a site on the web because it would require a persistent internet connection, and the documentation for the date function says nothing about that.
The reason I'm asking is because I'm trying to do some time manipulation with existing data. It is converted from seconds to a date and saved on my server, but when people in other time zones (I am in Eastern) view the date, it's always off (by 3 hours in the Pacific example). I know the correct way would be to store the seconds, and have Livecode do the manipulation, but I wanted to see if there was a way I can do it without totally destroying the data I already have stored.