calculate no of days between mysql timestamp and php current date -
this question has answer here:
- finding number of days between 2 dates 22 answers
i getting php date date("y-m-d") 2014-03-14 ,
mysql timestamp 2014-03-02 03:2:23
i want 12 days.
select datediff('2014-03-14',date(mysql_timestamp))
Comments
Post a Comment