Thread
:
MySQL Time +24 hours
View Single Post
02-08-2008, 04:35 PM
#
6
(
permalink
)
Salathe
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
You could also play around with DATE_ADD/SUB, for example:
SELECT DATE_SUB(NOW(), INTERVAL 24 HOUR) AS 24_hours_ago;
The Following User Says Thank You to Salathe For This Useful Post:
WinSrev
(02-08-2008)
Salathe
View Public Profile
Send a private message to Salathe
Visit Salathe's homepage!
Find More Posts by Salathe