mysql - SQL Timestamp Where clause 30 mins ago -
how can see if time stamp >= 30 mins ago? sorry if not descriptive enough idk else say.
now()-1800<=$the_time_stamp
the above wrong, should be
unix_timestamp()-1800<=$the_time_stamp
how can see if time stamp >= 30 mins ago? sorry if not descriptive enough idk else say.
now()-1800<=$the_time_stamp
the above wrong, should be
unix_timestamp()-1800<=$the_time_stamp
Comments
Post a Comment