Converting times
Sarah
sarahr at genesearch.com.au
Wed Nov 5 21:04:30 EST 2003
Hi Jonathon,
I get the correct answers using OS X 10.2.8 and set to Australian time
BUT I am in Queensland so I'm not on daylight saving. I wonder is that
a factor. Could you try converting to "the internet date"? Using your
8:17 am example, I get: Thu, 6 Nov 2003 08:17:00 +1000
Another test you could try is to insert a line saying "set the
useSystemDate to true"
I never found that this was necessary for times, only for dates, but it
might provide a clue as to what is happening.
Cheers,
Sarah
On Thursday, November 6, 2003, at 11:36 am, JonathanC at ag.nsw.gov.au
wrote:
> I wrote:
>> I tried this is the multi-line message box:
>>
>> ask "Enter a time:" with "8:17 am"
>> convert it to secs
>> convert it to short time
>> answer it
>>
>> ... and the result was "9:17 am"
>>
>> [snip]
>>
>> What's going on here?
>
> "J. Landman Gay" <jacque at hyperactivesw.com> replied:
>> Do your scripts have anything in them besides what you posted? I just
>> tried all three examples and correctly got "8:17 AM" each time.
>
> Nope, exactly as written - in the message box.
>
> I tried restarting my Mac and doing it again - still the same.
> I even tried it on a Windows PC - still the same.
>
> Details:
> Mac PowerBook G4 Titanium, OS X 10.2.8, Rev 2.1, International time
> region: Australia (12-hour clock)
> PC Compaq DeskPro, Windows 2000, Rev 2.1, Regional time settings:
> "h:mm:ss
> tt"
> Currently on daylight saving time (getting desperate to find an
> explanation! :-) )
>
> Regards,
>
> Jonathan Cooper
> Manager of Information / Website
> Art Gallery of New South Wales
> Sydney, Australia
> http://www.artgallery.nsw.gov.au
>
> This e-mail message is intended only for the addressee(s) and contains
> information which may be confidential. If you are not the intended
> recipient please advise the sender by return email, do not use or
> disclose
> the contents, and delete the message and any attachments from your
> system.
> Unless specifically indicated, this email does not constitute formal
> advice or commitment by the sender or the Art Gallery of NSW (ABN 24
> 934
> 492 575) or its related entities.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
More information about the use-livecode
mailing list