![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: Bug #36599 (DATE_W3C format constant incorrect). 3: --FILE-- 4: <?php 5: date_default_timezone_set("UTC"); 6: 7: echo date( DATE_ATOM, strtotime( "2006-03-03 08:47:55" ) ), "\n"; 8: echo date( DATE_W3C, strtotime( "2006-03-03 08:47:55" ) ), "\n"; 9: ?> 10: --EXPECT-- 11: 2006-03-03T08:47:55+00:00 12: 2006-03-03T08:47:55+00:00