I need to test current time against a datetime from database, if it has been 30 mins then execute code, if not then dont. This is where I am at and I am stuck:
First convert $timest to timestamp
$timest
$time = strtotime($timest); $curtime = time(); if(($curtime-$time) > 1800) { //1800 seconds //do stuff }