An actual Julian date is based on # of days since some time 3+ thousand years BC.
The dates CF is using are days since 12/30/1899. To convert a date from a date format to a "CF Julian Date" (ie. the number of days since 12/30/1899) add 0 to the date so: #dateFormat(now())# will show Oct-04 2002 <cfset CFNow = now()+0> <cfoutput>#cfnow#</cfoutput> 37533.4112269 At 02:31 PM 10/4/2002 +0100, you wrote: >sorry Jeff, run that by me again? Its Friday and I have a bit of a head >block here.... > >-----Original Message----- >From: jeff tapper [mailto:[EMAIL PROTECTED]] >Sent: 04 October 2002 14:23 >To: Spectra-Talk >Subject: RE: Date / 37476.573935200? > > >Well, if 0 is 12/30/1899, its not a real julian date, which should have 0 >as several thousand years earlier. anyhow, if you want to make a CFJulian >date of the current date/Time, try > ><cfset CFJulianNow = now() + 0> > >At 02:09 PM 10/4/2002 +0100, you wrote: > >thing is, how is creating the Julian date? > > > >-----Original Message----- > >From: jeff tapper [mailto:[EMAIL PROTECTED]] > >Sent: 04 October 2002 14:07 > >To: Spectra-Talk > >Subject: Re: Date / 37476.573935200? > > > > > >I was just playing with this the other day. #DateFormat(0)# evaluates to > >12/30/1899 > > > >At 01:48 PM 10/4/2002 +0100, you wrote: > > >Does anyone remember what this date number actually represents? When you > > >place it into a DateFormat() expression, it comes out as a proper date. > > > > > >I cant remember for the life of me what it means, I am sure its the time >in > > >seconds, minutes and hours since a certain data but I cant say for sure. > > > > > >thanks > > > > > >Neil > > > > > > > > > ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm ------------------------------------------------------------------------------ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
