/** * Tests if the format function returns the correct UTC time. */ public function testFormatToUTC() { $date = new \Ilch\Date(); $date->setTimestamp(1379521501); $this->assertEquals('2013-09-18 16:25:01', $date->format('Y-m-d H:i:s'), 'The time was not returned in UTC.'); }