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

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -