Question
please help dateformat issue
Thanks for all the previous help but i have run into another
problem and i think that i am just missing something with my
eyes... I have come up with a login and i am making them change
their password from the one i gave them initially. So my question
lies in that i aslo have a time line for them to change their
password within 90 days of the initial giving them their password
but something is wrong with the date format... here is the code
<cfif (GetMember.DateCreated gt '#dateformat(10/07/2008()+90,"mm/dd/yyyy")#') and (GetMember.UpDated eq '#never#')>
<script>
self.location="PasswordUpdated.cfm";
</script>
<cfelse>
and here is the error i get
Invalid CFML construct found on line 134 at column 56.
ColdFusion was looking at the following text:
(
The CFML compiler was processing:
An expression beginning with dateformat, on line 134, column 35.This message is usually caused by a problem in the expressions structure.
An expression beginning with GetMember.DateCreated, on line 134, column 8.This message is usually caused by a problem in the expressions structure.
An expression beginning with (, on line 134, column 7.This message is usually caused by a problem in the expressions structure.
<cfif (GetMember.DateCreated gt '#dateformat(10/07/2008()+90,"mm/dd/yyyy")#') and (GetMember.UpDated eq '#never#')>
<script>
self.location="PasswordUpdated.cfm";
</script>
<cfelse>
and here is the error i get
Invalid CFML construct found on line 134 at column 56.
ColdFusion was looking at the following text:
(
The CFML compiler was processing:
An expression beginning with dateformat, on line 134, column 35.This message is usually caused by a problem in the expressions structure.
An expression beginning with GetMember.DateCreated, on line 134, column 8.This message is usually caused by a problem in the expressions structure.
An expression beginning with (, on line 134, column 7.This message is usually caused by a problem in the expressions structure.
