some trouble with convert

william humphrey shoreagent at gmail.com
Mon Sep 1 15:03:08 EDT 2008


I tried

*on* mouseUp

   *put* "17:54" into tTimestamp

   *convert* tTimestamp to long system time

   *put* tTimestamp

*end* mouseUp


and got 5:54:00 PM

On Mon, Sep 1, 2008 at 2:57 PM, william humphrey <shoreagent at gmail.com>wrote:

> I tried
>
> *on* mouseUp
>
>    *put* 1754 into tTimestamp
>
>    *convert* tTimestamp to short system date
>
>    *put* tTimestamp
>
> *end* mouseUp
>
>
> and got 1969-12-31  (my system date is set to yyyy-mm-dd
>
>
>
>
> On Mon, Sep 1, 2008 at 2:15 PM, <runrev260805 at m-r-d.de> wrote:
>
>> Hi,
>>
>> maybe a dumb question, but why do i get  1:29:14 instead of 0:29:14
>>
>> with the following code?
>>
>> put 1754 into tTimesstamp
>> convert tTimestamp to short system date
>> put tTimestamp
>>
>>
>> I tried it  with useSystemDate set to true also.
>>
>> I am working on a german windows (with daylight saving time).
>>
>>
>> Regards,
>>
>> Matthias
>> _______________________________________________
>> 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
>>
>
>
>
> --
> http://www.bluewatermaritime.com
>



-- 
http://www.bluewatermaritime.com



More information about the use-livecode mailing list