What's up with the time functions?
Ben Rubinstein
benr_mc at cogapp.com
Wed Jan 23 13:52:01 EST 2002
on 23/1/02 5:30 PM, Kevin Miller at kevin at runrev.com wrote:
>>> put "1/1/02" into temp
>>> convert temp to dateitems
>>> Returns: 2002,1,1,2,0,0,3
>>> Implying this year started on the second hour.
>>>
>>> What happened to midnight?
>>> What am I missing?
>>
>> We'll double check this.
>
> Turns out to be daylight savings time.
Eh?
Why would that be two hours?
And I get exactly the same result; I'm in the UK, and at this time of the
year that means GMT. It also makes no difference when I toggled daylight
savings time in the D&T control panel (admittedly I haven't quit and
relaunched Rev). Nelson Zink reported this from somewhere on GMT +9. And I
also tried converting "6/6/02", just in case there was something really
'clever' going on - still 2am. So I'm not clear how this is daylight
savings time related?
And if it is - isn't that a bug?
> You have to take this into account.
Er... how? Is there any way from with Revolution to find out whether
daylight savings time is in effect?
Ben Rubinstein | Email: benr_mc at cogapp.com
Cognitive Applications Ltd | Phone: +44 (0)1273-821600
http://www.cogapp.com | Fax : +44 (0)1273-728866
More information about the use-livecode
mailing list