public static function getCurrentTimestamp()
    {
        $database = self::getDatabase();
        $sql = 'SELECT CURRENT_TIMESTAMP';
        return $database->query($sql)->fetch(\PDO::FETCH_NUM)[0];
    }
public static function getCurrentTimestamp()
    {
        $database = self::getDatabase();
        $sql = 'SELECT CURRENT_TIMESTAMP';
        return $database->query($sql)->fetch(\PDO::FETCH_NUM)[0];
    }
public static function getCurrentTimestamp ( ) { $ database = self :: getDatabase ( ) ; $ sql = 'SELECT CURRENT_TIMESTAMP' ; return $ database -> query ( $ sql ) -> fetch ( \ PDO :: FETCH_NUM ) [ 0 ] ; }
Selects Current Timestamp from Database

Useful to keep timezone consistent

@return string
Selects Current Timestamp from Database