codingmasterRS Posted June 12, 2011 Share Posted June 12, 2011 Hi Guys, How do I compare a stored time() in a DB to the new time(), I need it to count a diff if 5 minutes. I know how to get the data out of the DB etc, just not how to do the compare is it just a simple "-" or not? Quote Link to comment https://forums.phpfreaks.com/topic/239128-compare/ Share on other sites More sharing options...
Jeffro Posted June 12, 2011 Share Posted June 12, 2011 http://www.phpf1.com/tutorial/php-date-difference.html Quote Link to comment https://forums.phpfreaks.com/topic/239128-compare/#findComment-1228643 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.