>>I think that the dateFormat() functions will consider any string 
passed as a
numerical representation of the date unless it's quoted.

All CF function will take ANYTHING, strings, numerics or dates (which 
are float values anyway),
if it can be converted to a date, CF will convert it prior passing the 
value to the function.
The only problem is that it will first try to convert it according to 
the American format.
If you're working in American format, then this is not a problem, but 
for the rest of the world,
there is a risk that the date in converted the wrong way.
IE: "13/10/2007" will be interpreted as october 13 2007, because it is 
not a valid date under American format.
But just one day before, it would have been interpreted as Dec. 10th 2007!
This is a real time bomb.
You may have an application working correctly for days, the suddenly 
(the 13th of each month) it will bug.


-- 
_______________________________________
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296938
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to