We did fix some bugs in the date functions.....

--
Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: Aidan Whitehall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 10:09 AM
To: CF-Talk
Subject: CFMX version difference

Can you run the code below on a machine with CFMX 6.0 Updater 3 and then
the same code in CFMX 6.1 and compare the differences in the output?

<cfset date = createDate(2003, 1, 28)>

<cfloop from="0" to="15" index="i">
<cfset date = dateAdd("d", i, date)>
<cfoutput>#dateDiff("d", createDate(1899, 12, 30),
date)#<br></cfoutput>
</cfloop>

I get different results (it drifts after about 2/3 of the way through).

Was there a change in the way 6.1 handles date/times, perhaps due to a
Java update?

--
Aidan Whitehall <mailto:[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental Ltd  +44 (0)1695 51775
Queen's Awards Winner 2003 <http://www.fairbanks.co.uk/go/awards>


  _____  


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to