Spectra uses the following to convert date and time into some numeric
format.
<cfset dtmNow = parseDateTime()+0>
This will return something along the lines of:
37110.4213426
Not an integer, per say, but a numeric representation.
-Tyson
-----Original Message-----
From: Tristram Charnley [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 8:51 AM
To: CF-Talk
Subject: Date as absolute integer?
Is there a way to return a date as an integer
a bit like DayOfYear returns the day of the year as a
number? I'm sure I've seen it done somewhere.
Tristram Charnley
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists