Charles,

I built a whole series of Julian Date Format functions that are available as UDFs at 
the www.cflib.org web site.

JulianDayofWeek: Returns the day of the week for a date in the Julian calendar.
Returns the day of the week for a date in the Julian. If no date is provided, defaults 
to the current day. Verified to be accurate between 400 and 9999 AD.

GetDateFromJulianDay: Calculates the date and time from a provided Julian Day value.

GetDateFromModifiedJulianDay: Calculates the date and time based on a modified Julian 
Day.

GetJulianDay: Calculates the Julian Day for any date in the Gregorian calendar.
This function calculates the Julian Day for any date in the Gregorian calendar. 
Astronomers have used the Julian period to assign a unique number to every day since 1 
January 4713 B.C.E. Julian Days begin at noon on the date specified

GetModifiedJulianDay: Calculates the modified Julian Day for any date in the Gregorian 
calendar.
Calculates the modified Julian Day for any date in the Gregorian calendar. Sometimes a 
modified Julian day number (MJD) is used which is 2,400,000.5 less than the Julian day 
number. This brings the numbers into a more manageable numeric range and makes the day 
numbers change at midnight UTC rather than noon. MJD 0 thus started on 17 Nov 1858 
(Gregorian) at 00:00:00 UTC.
        
I hope these help.  Good luck.
Beau

 

-----Original Message-----
From: Charles Nahm [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 11:57 AM
To: CF-Talk
Subject: Julian Date Format output 0YYDDD


Does someone have a function built to convert the current date to a julian
format?

Thanks,
Charles Nahm
Sonic Networks Inc.


______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to