static function makeDateTime(int $timestamp) {
        $zone = new \DateTimeZone(\date_default_timezone_get());
        return (new \DateTime('@'.$timestamp))->setTimezone($zone);
    }
static function makeDateTime(int $timestamp) {
        $zone = new \DateTimeZone(\date_default_timezone_get());
        return (new \DateTime('@'.$timestamp))->setTimezone($zone);
    }
static function makeDateTime ( int $ timestamp ) { $ zone = new \ DateTimeZone ( \ date_default_timezone_get ( ) ) ; return ( new \ DateTime ( '@' . $ timestamp ) ) -> setTimezone ( $ zone ) ; }
Makes a DateTime instance from an UNIX timestamp and applies the default timezone.
@param int $timestamp
@return \DateTime
Makes a DateTime instance from an UNIX timestamp and applies the default timezone .