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
Post a Comment