superslurpee
Programmer
- May 15, 2002
- 108
Hi,
I have a datetime in a mysql db and want to compare it against right now. Basically if the date in the db is less than 7 days old, show a 'new' image. How do I subtract this datetime value from the current one to get the difference?
Thanks!!!
Darth Slurpee
I have a datetime in a mysql db and want to compare it against right now. Basically if the date in the db is less than 7 days old, show a 'new' image. How do I subtract this datetime value from the current one to get the difference?
Thanks!!!
Darth Slurpee