mysql datetime for next week?

Code:
SELECT DATE_ADD(DATE(NOW() + INTERVAL 1 WEEK), INTERVAL 15 HOUR)

Possibly? Date(Now()) returns a date only (no time) so adding 15 hours to it brings it up to 15:00.
 
I can't see why not:

Code:
UPDATE X SET Y = DATE_ADD(DATE(NOW() + INTERVAL 1 WEEK), INTERVAL 15 HOUR)
 
Can you post what you have / what you're trying to do/update? Might be easier that way :).
 
Back
Top Bottom