Thanks, but:
<cfoutput>#DateDiff("n", Now(), SESSION.xTime)#</cfoutput> (I caught I
wanted n instead of m since I want minutes)
"Now()" is an invalid date or time string
-----Original Message-----
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 12:12 PM
To: CF-Talk
Subject: RE: This should be so simple...
<cfoutput>#DateDiff("m", "Now()", "SESSION.xTime")#</cfoutput>
Don't use the quotes around Now() so that it is treated as a function
instead of a string. The same thing with session.xTime, the quotes will
tell CF to treat it as a string instead of a variable.
<cfoutput>#DateDiff("m", Now(), SESSION.xTime)#</cfoutput>
--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
---------
| 1 | |
--------- Binary Soduko
| | |
---------
"C code. C code run. Run code run. Please!"
- Cynthia Dunning
Confidentiality Notice: This message including any attachments is for
the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender and
delete any copies of this message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259778
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4