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)) Quote 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) ) Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.