IIRC, it's saying that midnight tomorrow is less than 24 hours from now,
just as midnight this morning was less than 24 hrs from now.



  --Ben Doom
    Programmer & General Lackey
    Moonbow Software

: -----Original Message-----
: From: Chris Edwards [mailto:[EMAIL PROTECTED]]
: Sent: Friday, October 11, 2002 3:04 PM
: To: CF-Talk
: Subject: DateDiff bug?!
:
:
: ---------------------------------
: <cfscript>
: output = "";
: for( i=7; i LTE 20; i=i+1 )
:   {
:   output = output & i & ": " & DateDiff( "D", Now(), CreateDate( 2002, 10,
: i ) ) & "<br>";
:   }
:
: </cfscript>
:
: <cfoutput>#output#</cfoutput>
: -----------------------------------
:
: 7: -4
: 8: -3
: 9: -2
: 10: -1
: 11: 0
: 12: 0   <-------------  whats is going on here?
: 13: 1
: 14: 2
: 15: 3
: 16: 4
: 17: 5
: 18: 6
: 19: 7
: 20: 8
:
: Whats up with that?
:
:
: --
: Chris Edwards
: Web Application Developer
: Outer Banks Internet, Inc.
: 252-441-6698
: [EMAIL PROTECTED]
: http://www.OuterBanksInternet.com
:
:
: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to