August 29, 2010
by Frederick
Comments Off
Random PHP/MySQL discovery: time differences
I had been plagued by a nagging question while developing a PHP application: how do I calculate the difference between two timestamps, to check whether the timestamps are within x minutes of each other? My initial solution wasn't at all … Continue reading
