src/SkeVent.php
public function time(string $strFormat = 'g:ia', string $strTimezone = 'UTC')
    {
        return Carbon::parse($this->session_at ?? $this->starts_at)
            ->setTimezone($strTimezone)
            ->format($strFormat);
    }
public function time(string $strFormat = 'g:ia', string $strTimezone = 'UTC')
    {
        return Carbon::parse($this->session_at ?? $this->starts_at)
            ->setTimezone($strTimezone)
            ->format($strFormat);
    }
public function time ( string $ strFormat = 'g:ia' , string $ strTimezone = 'UTC' ) { return Carbon :: parse ( $ this -> session_at ?? $ this -> starts_at ) -> setTimezone ( $ strTimezone ) -> format ( $ strFormat ) ; }
Format the time using the given pattern.

@param string $strFormat PHP date format.
@param string $strTimezone PHP timezone name.
@return string
Format the time using the given pattern .