some trouble with convert

BNig niggemann at uni-wh.de
Tue Sep 2 05:37:23 EDT 2008



BNig wrote:
> 
> 
> Looks like Rev adds the daylight saving to the time and then some, and it
> looks like a bug to me 
> 
> 

well, probably not a bug, I just dont really understand it. (the bug is in
my head)

Anyways, Sarah's solution seems the way to go. No trouble with time
intervals of more than 24 hours etc.

Just as an exercise I tried this:
--------------
   put the date into tDate
   convert tDate to dateItems
   add 1754 to item 6 of tDate
   convert tDate to long system time
   put tDate 
------------

as long as the seconds are less than 24 hours worth it works giving 00:29:14
(german system) and this is what one would expect. Reassuring.

regards

Bernd


-- 
View this message in context: http://www.nabble.com/some-trouble-with-convert-tp19258683p19266979.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list