Lines Matching refs:date
4 date.timezone=Europe/Berlin
11 $date = new DateTime('@'.strtotime('2012-08-22 00:00:00 CEST'));
12 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
14 $date->modify('+0 days');
15 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
19 $date = new DateTime('@'.strtotime('2012-08-22 00:00:00 CEST'));
20 $date->setTimezone($tz);
21 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
23 $date->modify('+0 days');
24 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
28 $date = new DateTime('2012-08-22 00:00:00 CEST', $tz);
29 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";
31 $date->modify('+0 days');
32 echo $date->format('Y-m-d H:i:s T').' (offset '.$date->getOffset().")\n";