Date Troubles

Sarah Reichelt sarahr at genesearch.com.au
Mon Jan 17 19:58:15 EST 2005


> What do I need to do to make the following work right? To get the 
> centuries
> right?
>
> put "7/18/1868" into temp
>   put temp into  fld 1
>   convert temp to seconds
>   put "  --  "&temp after fld 1
>   convert temp to long date
>   put "  --  "&temp after  fld 1
>
Hi Nelson,

The only way I could get it to work was to use Julian dates. if you go 
to my web page, you will see a DateTime library: "DateTime.rev.gz", 
which includes functions for translating dates to & from Julian format, 
originally written by Mark Weider.

Cheers,
Sarah
sarahr at genesearch.com.au
http://www.troz.net/Rev/



More information about the Use-livecode mailing list