xref: /unit/test/php/date_time/index.php (revision 982:b24c9fc8ee2a)
1865Szelenkov@nginx.com<?php
2*982Szelenkov@nginx.comdate_default_timezone_set('Europe/Moscow');
3*982Szelenkov@nginx.com$d = new DateTime('2011-01-01T15:03:01.012345');
4865Szelenkov@nginx.comecho $d->format('u');
5865Szelenkov@nginx.com?>
6