diff options
Diffstat (limited to '')
-rw-r--r-- | test/php/date_time/index.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/php/date_time/index.php b/test/php/date_time/index.php new file mode 100644 index 00000000..4e06fdf9 --- /dev/null +++ b/test/php/date_time/index.php @@ -0,0 +1,4 @@ +<?php +$d = new DateTime('2011-01-01T15:03:01.012345Z'); +echo $d->format('u'); +?> |