I need to test for one date being less than, = to or > another date:
If datecreated <= needbydate then
if the date is less than or equal to I need to get the difference of days as a percentage. So if something was created on the 1st of the month and was due by the 9th, but today is the 10th, then I am overdue by 1 day. But I need to show it as a percentage.
How can I do that?
If datecreated <= needbydate then
if the date is less than or equal to I need to get the difference of days as a percentage. So if something was created on the 1st of the month and was due by the 9th, but today is the 10th, then I am overdue by 1 day. But I need to show it as a percentage.
How can I do that?