Carl Jolley wrote [in part]:
> I find that most uses of Julian date is to allow calculation in
elapsed
> days or to facilitate the calculatation of the difference in days
between
> two dates. Date:Manip does those tasks just fine including calculation
of
> "business" days based on a list of holidays.

Exactly.  Most people think that this is 'Julian date'.  It's actually a
misnomer.  That's why Tom Christiansen added some of my prose to the
perldocs
on Julian date [it is in the 5.6 docs but not in the 5.005 docs].  I
agree with
you here: Date::Manip and Date::Calc do pretty much everything I need
for date
arithmetic.

>                                               Also, from a curiosity
> standpoint what is a "real" Julian date according to David Cassell? I
> always thought of it as <year><day_of_year> where <day_of_year> was
three
> digits (1..365 or 1..366 for a leap year) and <year> was either two
digits
> (if all dates were in the same century) otherwise year was four
digits.

Julian date is actually the calendar which was supplanted by the
Gregorian
calendar.  The use you have above is often misnamed 'Julian date' [but
isn't].
The Gregorian calendar was introduced to fix errors in the Julian
calendar in
1582 by pope Gregory XIII [IIRC] and was slowly accepted around the
world.
It became the standard in England in 1752 [when Wednesday the 2nd of
September
was abruptly followed by Thursday the 14th of September].  And it's not
just
according to me.  You can look it up, on paper or electronic version.

But time and again, when people ask for Julian date, they really want
something
entirely different.  I have seen someone doing astronomical calculations
for
years in the Middle Ages who really did want the Julian calendar, but
he's the
only one I know of.

David
--
David Cassell, CSC
[EMAIL PROTECTED]
Senior computing specialist
mathematical statistician

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to