I'd suggest DateCalc() by Jochen, or my new one in the Scripts Forum fnDateDiff(). If you need to calculate the weekday of a past or future day you may want to look at fnWeekDay() in the Scripts Forum too.