Julian dates are normally based on something in the distant past,
so if you want it to work with existing data you need to make sure
the base date is the same. I think that the base date can be
configured within Informix.

Nick

-----Original Message-----
From: Paul Sizemore [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 1:31 PM
To: CF-Talk
Subject: RE: How to get Julian Date


Thanks for the help. I'm rewriting some Informix 4gl's in CF.

-----Original Message-----
From: Adrian Cesana [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 11, 2001 4:43 PM
To: CF-Talk
Subject: RE: How to get Julian Date

<cfset JulianDate = "#numberformat(dayofyear(Now()), 000)#">

This should do it,
Adrian


-----Original Message-----
From: Paul Sizemore [mailto:[EMAIL PROTECTED]]

How would I get the julian date for today, besides using the CF_Julian tag?

Paul
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to