system/I18n/Time.php
public static function createFromTimestamp(int $timestamp, $timeZone = null, string $locale = null)
	{
		return new Time(date('Y-m-d H:i:s', $timestamp), $timeZone, $locale);
	}
public static function createFromTimestamp(int $timestamp, $timeZone = null, string $locale = null)
	{
		return new Time(date('Y-m-d H:i:s', $timestamp), $timeZone, $locale);
	}
Returns a new instance with the datetime set based on the provided UNIX timestamp.

@param integer      $timestamp
@param DateTimeZone $timeZone
@param string|null  $locale

@return \CodeIgniter\I18n\Time
@throws \Exception