public function setTimestamp($timestamp)
	{
		$time = date('Y-m-d H:i:s', $timestamp);

		return Time::parse($time, $this->timezone, $this->locale);
	}
public function setTimestamp($timestamp)
	{
		$time = date('Y-m-d H:i:s', $timestamp);

		return Time::parse($time, $this->timezone, $this->locale);
	}
public function setTimestamp ( $ timestamp ) { $ time = date ( 'Y-m-d H:i:s' , $ timestamp ) ; return Time :: parse ( $ time , $ this -> timezone , $ this -> locale ) ; }
Returns a new instance with the date set to the new timestamp.

@param integer $timestamp

@return \CodeIgniter\I18n\Time
@throws \Exception
Returns a new instance with the date set to the new timestamp .