The best thing to do (if you are dealing with dates after Jan 1, 1970 is to store the date using the [man]strtotime[/man] function. Then you take your comparison date, and convert it using the same functions. You subtract one from the other (gives you the difference in seconds), and then use simple math to convert the seconds to days, months, weeks, etc.