Smarty mysql date + 1 day -
i have variable give me date mysql:
{row.date}
how can add 1 day this?
exampe: row.date = 2015-07-23 , wish = 2015-07-24
thanks in advance.
you can use date functions this. here way achieve this:
date_add('2015-07-23', interval 1 day);
you can replace "2015-07-23" column name contains date in select query.
Comments
Post a Comment