NLT Posted July 9, 2012 Share Posted July 9, 2012 What's the best way to do it? Would it be with like if((date('s') - date('s', strtotime($Time)) < (5 * 60)) Link to comment https://forums.phpfreaks.com/topic/265441-5-minutes-ago-with-a-timestamp/ Share on other sites More sharing options...
xyph Posted July 9, 2012 Share Posted July 9, 2012 Huh? More details, please if( $time <= (time()-60*5) ) Link to comment https://forums.phpfreaks.com/topic/265441-5-minutes-ago-with-a-timestamp/#findComment-1360334 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.