/t5/coldfusion-discussions/dateformat-expire-problem/m-p/136251#M12645Oct 31, 2008
Oct 31, 2008
Copy link to clipboard
Copied
LATEST
dateformat returns a string. if Passwordexpire.datecreated is
a date object, you have a logic problem in that you are attempting
to compare a date to a string.
If PasswordExpire.datecreated is a string, you have chosen a
dateformat that will likely give you undesired results.