programmher
Programmer
I am trying to set ThisDate to equal CreateDateTime.
I declare the parameter below:
<cfparam name="ThisDate" default"">
I set the date:
<cfset ThisDate EQ #CreateDateTime('dd','mm','yy','hh:mm:ss')#>
Here is my error:
An error occurred while evaluating the expression:
ThisDate EQ #CreateDateTime('dd','mm','yy','hh:mm:ss')#
Parameter 1 of function CreateDateTime which is now "dd" must be an integer
What am I missing? I have used keyword search and have followed ALL the examples I found. I also tried declaring my cfparam's value to equal "date". This did not work, either. What am I missing?!?
I declare the parameter below:
<cfparam name="ThisDate" default"">
I set the date:
<cfset ThisDate EQ #CreateDateTime('dd','mm','yy','hh:mm:ss')#>
Here is my error:
An error occurred while evaluating the expression:
ThisDate EQ #CreateDateTime('dd','mm','yy','hh:mm:ss')#
Parameter 1 of function CreateDateTime which is now "dd" must be an integer
What am I missing? I have used keyword search and have followed ALL the examples I found. I also tried declaring my cfparam's value to equal "date". This did not work, either. What am I missing?!?