I should add that this program assumes the Gregorian calendar was in use
back to 4713 BC, which is untrue.  It's been in effect only since 1852 in
the US.

Russell [EMAIL PROTECTED]
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 09, 1999 11:27 AM
Subject: [REBOL] epoch? Re:(9)


> Sorry for the belated reply.  I've worked out a script, julian.r, that
> converts dates to Julian Day Numbers, JD, for dates from 1-1-0001 to over
> 31-12-3000.  I've submitted it to www.rebol.org, but as they seem to be
> somewhat slow, I'll include it herein. I'll also attach it. Sorry for the
> length, but it's full of comments.  I tried to submit a script earlier in
> November, but that one was limited to years 1901 through 2099, as it
didn't
> know that years divisible by 100 are not leap years unless they're
divisible
> by 400.  This current submission does and works from years 0001 through
> 3000.
>
> It's epoch date is 1 Jan 4713 BC, as is common today in accounting.
[ big snip ]

Reply via email to