Question
cfif isdefined ... AND ...
I have the following cfif statement:
<cfif status.datetime NEQ "" AND dateDiff('d',status.datetime,now()) GT 1 >
It works however in rare occasions status.datetime might not be defined. When I change it to:
<cfif isdefined("status.datetime") AND status.datetime NEQ "" AND dateDiff('d',status.datetime,now()) GT 1 >
it stops working. What am I doing wrong?
Thanks in advance for any help.
Gary
