Hi Rykie,
Mackavi's script will do what you want---all you need to do is put that script into a script object in the page, then to actually use it, you call the function in a script action which could be attached to a button or an text input box. The script action would simply be
Code:
dateDiff(firstDate,nextDate)
where firstDate and nextDate are the two dates to 'compare'. You can compare dates either way. To check dates due, the first date would be today and the next date would be a date in the future.
To check dates past, the first date would be a date in the past and the next date would be today---or you can do it between any two random dates.
the dates have to be in this format to work ....06 February 2008.
You can do this without the calendar
Rgds
Sandy