Eric Roberts wrote:
> Peaking of odd date formatting...I ran across an issue where a couple of
> decimals were getting recognized as dates instead of being left a decimals.
> One value was 9.707 and the other was 10.650.  Pass it though a isdate()
> function and it returns yes.  Is this a known bug?  That's on CF7 on RHE (I
> think...i know it is linux...)

not a bug, cf datetime objects are decimal days since 31-dec-1899. a fairly 
useful side effect of this is that you can easily ditch times (using int() or 
round() methods) if you need to do just day-to-day comparisons.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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

Reply via email to