The seconds and time zones

Jacques Hausser jacques.hausser at unil.ch
Tue Jan 26 08:30:59 EST 2010


Be careful with the spelling ! Jacques has a beard, smokes pipe, likes brussel sprouts (oups, sorry) and is definitively different from Jacque...

But I can nevertheless say that I did set my computer (Mac OS X) to different time zones and the seconds didn't change accordingly... they seem trustable within a computer.

Jacques

Le 26 janv. 2010 à 13:36, Bernard Devlin a écrit :

> Hang on :-)  I seem to remember Jacques saying recently that she'd
> found that the internet date was more reliable across time zones than
> storing seconds.
> 
> I'm sure Jacques will be along soon to give us details or tell me
> (ever so politely) that I'm wrong.
> 
> Bernard
> 
> On Tue, Jan 26, 2010 at 6:25 AM, Bill Vlahos <bvlahos at mac.com> wrote:
>> Sarah,
>> 
>> Thanks for confirming it. Slick.
>> 
>> Bill
>> 
>> On Jan 25, 2010, at 9:36 PM, Sarah Reichelt wrote:
>> 
>>> On Tue, Jan 26, 2010 at 2:53 PM, Bill Vlahos <bvlahos at mac.com> wrote:
>>>> I want to represent time snapshot independently of format and time zone so that I can compare the modification times of two items. The "seconds" looks like the way to go but I thought that it would get thrown off depending upon which time zone the computer was in.
>>>> 
>>>> I just saw this in the Rev dictionary:
>>>> Note: The convert command assumes all dates / times are in local time except for 'the seconds', which is taken to be universal time.
>>>> 
>>>> Does this mean that if I "get the seconds" simultaneously anywhere in the world it will result in the same number or would I have to account for the time zone offset. This definition makes it sound like it already takes into account the time zone offset.
>>> 
>>> 
>>> Correct. The seconds taken at an instant in time will give the same
>>> result no matter where you are and what time zone you are in.
>>> Converting it to any other format then applies the time zone of the
>>> computer doing the conversions.
>>> 
>>> As an example, my time zone is +1000 and at the moment, using this
>>> line of script,  I get:
>>> 
>>> put the seconds & cr & the long time && the long date
>>> 
>>> 1264484095
>>> 3:34:55 PM Tuesday, January 26, 2010
>>> 
>>> If you take that value of seconds and convert it, you will get
>>> whatever time it was in your zone when it was 3:34 for me.
>>> 
>>> Cheers,
>>> Sarah
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

******************************************
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax: 	++ 41 22 366 19 40
mobile:	++ 41 79 757 05 24
E-Mail:	jacques.hausser at unil.ch
*******************************************




More information about the use-livecode mailing list