sql - MySQL's now() +1 day -


i'm using now() in mysql query.

insert table set data = '$data', date = now() 

but want add 1 day date (so date should contain tomorrow).
possible?

you can use:

now() + interval 1 day 

if interested in date, not date , time can use curdate instead of now:

curdate() + interval 1 day 

Comments

Popular posts from this blog

drupal - using views argument in the view tpl.php file -

php - Posting PHPBB Forum Thread/Post info in a website -

php - Add a blog by sending a mail to a certain emailadress -