|
Apparently... and they say us coders are weird? I checked out that site Rob posted, but it's too early, not enough coffee and then I saw this: jd = ( 1461 * ( y + 4800 + ( m - 14 ) / 12 ) ) / 4 + ( 367 * ( m - 2 - 12 * ( ( m - 14 ) / 12 ) ) ) / 12 - ( 3 * ( ( y + 4900 + ( m - 14 ) / 12 ) / 100 ) ) / 4 + d - 32075 and thought, thank god for the BIF's in rpg... I'll just forget about it lol. Ron Power Programmer Information Services City Of St. John's, NL P.O. Box 908 St. John's, NL A1C 5M2 709-576-8132 rpower@xxxxxxxxxx http://www.stjohns.ca/ ___________________________________________________________________________ Success is going from failure to failure without a loss of enthusiasm. - Sir Winston Churchill "Holden Tommy" <Tommy.Holden@xxxxxxxxxxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx 2006/01/05 06:50 PM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> cc Subject RE: Generating Julian Date >From the link below <snip>According to the system of numbering days called Julian day numbers, used by astronomers and calendricists (those who study calendars, unfortunately not for a living), </snip> So people actually study calendars....for fun?? Eww.... Thanks, Tommy Holden -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx Sent: Thursday, January 05, 2006 4:00 PM To: RPG programming on the AS400 / iSeries Subject: Re: Generating Julian Date Ordinal vs. Julian? As I've always been led to believe a Julian date was YYDDD and a long Julian was YYYYDDD where DDD was which day of that particular year it was. However, true a Julian date is damn near explained like Star Trek's star date. http://www.hermetic.ch/cal_stud/jdn.htm Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.