Page 1 of 1

Internet Date Question

Posted: Wed Jan 02, 2013 8:51 pm
by xclntdesign
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.

Re: Internet Date Question

Posted: Thu Jan 03, 2013 12:49 am
by Simon
I did the same test as you and found that only by shutting down LC and restarting the time did change.

Simon

Re: Internet Date Question

Posted: Thu Jan 03, 2013 2:49 am
by Simon
Wait... Where you asking if you should go on an Internet Date? :lol:
Simon

Re: Internet Date Question

Posted: Thu Jan 03, 2013 3:04 pm
by Klaus
:D :D :D

Re: Internet Date Question

Posted: Thu Jan 03, 2013 3:15 pm
by xclntdesign
Here I am looking for something complicated with Terminal and everything, and its simple as restart.

Thank you very much!