public static function createFromFormat($format, $datetime, $timeZone = null)
	{
		$date = parent::createFromFormat($format, $datetime);

		return new Time($date->format('Y-m-d H:i:s'), $timeZone);
	}
public static function createFromFormat($format, $datetime, $timeZone = null)
	{
		$date = parent::createFromFormat($format, $datetime);

		return new Time($date->format('Y-m-d H:i:s'), $timeZone);
	}
public static function createFromFormat ( $ format , $ datetime , $ timeZone = null ) { $ date = parent :: createFromFormat ( $ format , $ datetime ) ; return new Time ( $ date -> format ( 'Y-m-d H:i:s' ) , $ timeZone ) ; }
Provides a replacement for DateTime's own createFromFormat function, that provides
more flexible timeZone handling

@param string                $format
@param string                $datetime
@param DateTimeZone|string   $timeZone

@return \CodeIgniter\I18n\Time
@throws \Exception
Provides a replacement for DateTime s own createFromFormat function that provides more flexible timeZone handling