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

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -