Julian Dates?

Rob Cozens rcozens at pon.net
Thu Apr 11 16:17:01 EDT 2002


>But what happens when you try to manipulate your negative time?
>
>If I "get -86400" and then "convert it to dateItems" I get "Invalid Date."

David, et al,

My apologies on this one.  Perhaps it has something to do with the 
lack of persistence of the value of it?

Anyway, in a script:

on testDate
   ask "Enter a date"
   convert it to seconds
   put it into zaDate
   convert it to dateItems
   put zaDate&&"="&&it
end testDate

-86400 does not give me "Invalid Date", but a date in 1969.
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



More information about the use-livecode mailing list