public function testTimezone() { $akl = new \DateTime('2014-01-01 13:00:00', new \DateTimeZone('Pacific/Auckland')); $utc = new \DateTime('2014-01-01 00:00:00', new \DateTimeZone('UTC')); $this->claim->setValue($akl); $this->assertSame($utc->getTimestamp(), $this->claim->getValue()); }