public function testGetOffset() { $ny = new DateTimeObject("now", 'America/New_York'); if ($ny->getOffset() != -18000 && $ny->getOffset() != -14400) { // based on daylight saving time $this->assertFalse(true); } }
public function testGetOffset() { $ny = new DateTimeObject("now", 'America/New_York'); if ($ny->getOffset() != -18000 && $ny->getOffset() != -14400) { // based on daylight saving time $this->assertFalse(true); } }