public static function get(UTCDateTime $date): DateTime
    {
        $date = $date->toDateTime();
        $date->setTimezone(new DateTimeZone(date_default_timezone_get()));

        return $date;
    }
public static function get(UTCDateTime $date): DateTime
    {
        $date = $date->toDateTime();
        $date->setTimezone(new DateTimeZone(date_default_timezone_get()));

        return $date;
    }
public static function get ( UTCDateTime $ date ) : DateTime { $ date = $ date -> toDateTime ( ) ; $ date -> setTimezone ( new DateTimeZone ( date_default_timezone_get ( ) ) ) ; return $ date ; }
Retrieves DateTime instance using default timezone.

@param UTCDateTime $date

@return DateTime
Retrieves DateTime instance using default timezone .