Possible Duplicate:
How to calculate the difference between two dates using PHP?
I have timestamps stored in the format YYYY-MM-DD HH:MM:SS
(for example 2010-06-21 20:12:56
). What would the best way to check how old the timestamp is? For the moment I am mainly interested in the number of days old.