public static function yesterday($timezone = null, string $locale = null)
	{
		return new Time(date('Y-m-d 00:00:00', strtotime('-1 day')), $timezone, $locale);
	}
public static function yesterday($timezone = null, string $locale = null)
	{
		return new Time(date('Y-m-d 00:00:00', strtotime('-1 day')), $timezone, $locale);
	}
public static function yesterday ( $ timezone = null , string $ locale = null ) { return new Time ( date ( 'Y-m-d 00:00:00' , strtotime ( '-1 day' ) ) , $ timezone , $ locale ) ; }
Returns an instance set to midnight yesterday morning.

@param null        $timezone
@param string|null $locale

@return \CodeIgniter\I18n\Time
@throws \Exception
Returns an instance set to midnight yesterday morning .