mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
13 lines
306 B
Plaintext
13 lines
306 B
Plaintext
|
--TEST--
|
||
|
Bug #36599 (DATE_W3C format constant incorrect).
|
||
|
--FILE--
|
||
|
<?php
|
||
|
date_default_timezone_set("UTC");
|
||
|
|
||
|
echo date( DATE_ATOM, strtotime( "2006-03-03 08:47:55" ) ), "\n";
|
||
|
echo date( DATE_W3C, strtotime( "2006-03-03 08:47:55" ) ), "\n";
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
2006-03-03T08:47:55+00:00
|
||
|
2006-03-03T08:47:55+00:00
|