Ver originalif(!is_numeric($timestamp) or !$timestamp) $fecha="Sin fecha";else $fecha=date( "Y-m-d H:i:s",$timestamp);