Currently I'm storing timestamps in the database like such 1378852898
1378852898
How can I check this against the current time() to see if it's within the last 10mins with PHP?
time()
if (time() - $timestampvar < 10 * 60) { ... }.
if (time() - $timestampvar < 10 * 60) { ... }