function db_unix2dateTime($time) { trigger_error(__FUNCTION__ . " has been deprecated in v3.2 and will be removed in v5.0. Please use w2p_Database_Connection->db_unix2dateTime instead.", E_USER_NOTICE); global $db; $connection = new w2p_Database_Connection($db); return $connection->unix2dateTime($time); }