I am trying to create the following formula:
datediff ("ww", cdate(invoice_date), currentdate)
When I add it to my report I get an error:
"Dates must be between year 1 and year 9999."
In the DB2 DB it has the invoice field as a int. (20090123).
How can I work around this to get the number of days between these to dates? Do I have to convert the invoice date in Crystal? If so how?
Apprciate the help.