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? 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 Link to comment https://forums.phpfreaks.com/topic/239128-compare/#findComment-1228643 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.