unix timestamp - UNIX_TIMESTAMP mysql query error -
i'm trying make query using unix_timestamp
, basicly query:
"select * payment unix_timestamp(pay_till) >=".$today
that's pretty simple query, pay_till has value 2016-09-21 23:59:59, & today 1474498800.
so shouldn't return me payment done after 2016-09-21 23:59:59, how still return me payments till 2 days after.
Comments
Post a Comment