i need to check if a timestamp is expired datetime, by comparing that to the current timestamp
So i have :
$current_timestamp = time();
$db_timestamp = 134500809
My dubt is, is it correct in all cases to do (is it always TRUE):
if($current_timestamp > $db_timestamp){
// $db_timestamp is expired for sure
}
or should this be FALSE in some cases?