protected function formatDatetimeUtc(DateTimeInterface $date, PropDefinition $propDefinition): string
    {
        return $this->formatDatetime($date, $propDefinition->set('timezone', 'UTC'));
    }
protected function formatDatetimeUtc(DateTimeInterface $date, PropDefinition $propDefinition): string
    {
        return $this->formatDatetime($date, $propDefinition->set('timezone', 'UTC'));
    }
protected function formatDatetimeUtc ( DateTimeInterface $ date , PropDefinition $ propDefinition ) : string { return $ this -> formatDatetime ( $ date , $ propDefinition -> set ( 'timezone' , 'UTC' ) ) ; }
Shortcut method for converting a date to UTC and returning the formatted string.

@param DateTimeInterface $date
@param PropDefinition    $propDefinition

@return string

@see FormatsFields::formatDateTime()
Shortcut method for converting a date to UTC and returning the formatted string .