Skip to main content
Inspiring
August 12, 2008
Answered

dateAdd

  • August 12, 2008
  • 2 replies
  • 437 views
dateAdd 3 years

#lsDateFormat(DateAdd('yyyy', 3, '24/04/1943'))# gives java.lang.IllegalArgumentException error while
#lsDateFormat(DateAdd('yyyy', 3, '24/04/1980'))# gives the correct result - 24-Apr-1983.
Any ideas, please...
This topic has been closed for replies.
Correct answer rollerskatie
I've just tested this locally on my machine (CFMX 7) and both statements seemed to work...

2 replies

A***Author
Inspiring
August 14, 2008
It appears our server is the culprit.
Thanks
rollerskatieCorrect answer
Inspiring
August 14, 2008
I've just tested this locally on my machine (CFMX 7) and both statements seemed to work...