@ 2013-01-16T09:41:31Z <?php
echo strftime("%Y %W", strtotime("-1 week", strtotime("2013W01"))) . "\n";
echo strftime("%Y %W", strtotime("+1 week", strtotime("2012W52"))) . "\n";
echo gmdate("Y W", strtotime("2012W53")) . "\n";
echo strftime("%Y %W", strtotime("2012W53")) . "\n";
echo date("Y W", strtotime("2012W53")) . "\n";
?>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 Deprecated: Function strftime() is deprecated in /in/Svuk1 on line 2
2012 52
Deprecated: Function strftime() is deprecated in /in/Svuk1 on line 3
2012 53
2012 52
Deprecated: Function strftime() is deprecated in /in/Svuk1 on line 5
2012 53
2012 01
Output for 5.1.0 - 5.1.6 , 5.2.0 - 5.2.17 , 5.3.0 - 5.3.29 , 5.4.0 - 5.4.45 , 5.5.0 - 5.5.38 , 5.6.0 - 5.6.40 , 7.0.0 - 7.0.33 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.31 , 7.4.0 - 7.4.25 , 7.4.27 - 7.4.33 , 8.0.0 - 8.0.12 , 8.0.14 - 8.0.30 2012 52
2012 53
2012 52
2012 53
2012 01
Output for 7.3.32 - 7.3.33 , 7.4.26 , 8.0.13 2012 52
2012 53
2012 01
2012 53
2012 01
Output for 5.0.5 2012 51
2012 05
2012 04
2012 04
2012 04
Output for 5.0.0 - 5.0.4 2012 51
2012 05
2012 4
2012 04
2012 4
Output for 4.4.1 - 4.4.9 1969 51
1970 01
1969 01
1970 00
1970 01
Output for 4.3.6 - 4.3.11 , 4.4.0 1969 51
1970 01
1969 1
1970 00
1970 1
Output for 4.3.0 - 4.3.5 1970 01
1969 1
1970 1
preferences:dark mode live preview
252.82 ms | 401 KiB | 457 Q