I am looking to do a mathematical computation for dates.

I need to do the following:

if (today's date - a stored date < 3 days) {

code here

}


Where today's date is well today's date and a stored date is a date I
already retrieved from my database.  I am looking to find the difference in
days.  Anyone with any ideas?

Reply via email to