greatfalls
Technical User
I can get the current year;
<CFOUTPUT>#DateFormat(Now(),' yyyy')#</CFOUTPUT>
but then I am trying to display the year 2000
#DateAdd('YYYY', -1, Now())#</CFOUTPUT>
and I get {ts '2001-04-23 21:02:38'}
I don't see what is wrong with this?
<CFOUTPUT>#DateFormat(Now(),' yyyy')#</CFOUTPUT>
but then I am trying to display the year 2000
#DateAdd('YYYY', -1, Now())#</CFOUTPUT>
and I get {ts '2001-04-23 21:02:38'}
I don't see what is wrong with this?