<?php date_default_timezone_set(string $timezoneId): bool
<?php protected function tearDown(): void { date_default_timezone_set($this->currentTimezone); } public function testDateConvertsToDatabaseValue(): void
<?php public function testDateRestsSummerTimeAffection(): void { date_default_timezone_set('Europe/Berlin'); $date = $this->type->convertToPHPValue('2009-08-01', $this->platform); self::assertEquals('00:00:00', $date->format('H:i:s'));