I want to do a time comparison to see a certain amount of time has
passed.
Just to test this to see what value I get back I am using
<cfparam name="SESSION.xTime" default=Now()>
<cfoutput>#DateDiff("m", "Now()", "SESSION.xTime")#</cfoutput>
(intending to load the page, wait a few minutes then do a reload)
And the error I get is
The value of the parameter 2, which is currently "Now()", must be a
class java.util.Date value.
So how should I be writing the code?
Larry V. Stephens
Indiana University
Office of Risk Management
[EMAIL PROTECTED]
812-855-9758
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:259775
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4