@ 2015-08-18T17:30:24Z <?php
$date = new DateTime("1 year ago");
$msgfmt = MessageFormatter::create('nl_NL', 'Today one year ago is {0,date}');
echo $msgfmt->format(array($date));
?>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.0.20 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.31 , 7.4.0 - 7.4.32 , 8.0.0 - 8.0.12 , 8.0.14 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 Today one year ago is 18 aug. 2014 Output for 8.0.13 Fatal error: Uncaught Error: Class "MessageFormatter" not found in /in/gFvPo:6
Stack trace:
#0 {main}
thrown in /in/gFvPo on line 6
Process exited with code 255 . Output for 7.0.5 , 7.3.32 - 7.3.33 , 7.4.33 Fatal error: Uncaught Error: Class 'MessageFormatter' not found in /in/gFvPo:6
Stack trace:
#0 {main}
thrown in /in/gFvPo on line 6
Process exited with code 255 . Output for 7.0.6 Today one year ago is 3 mei 2015 Output for 7.0.4 Today one year ago is 10 mrt. 2015 Output for 7.0.3 Today one year ago is 18 mrt. 2015 Output for 7.0.2 Today one year ago is 21 mrt. 2015 Output for 7.0.1 Today one year ago is 23 mrt. 2015 Output for 7.0.0 Today one year ago is 26 mrt. 2015 Output for 5.6.21 Today one year ago is 1 mei 2015 Output for 5.2.0 - 5.2.17 , 5.3.0 - 5.3.29 , 5.5.29 - 5.5.30 , 5.5.34 , 5.6.13 - 5.6.15 , 5.6.20 Fatal error: Class 'MessageFormatter' not found in /in/gFvPo on line 6
Process exited with code 255 . Output for 5.6.19 Today one year ago is 7 mrt. 2015 Output for 5.6.18 Today one year ago is 14 mrt. 2015 Output for 5.6.17 Today one year ago is 19 mrt. 2015 Output for 5.6.16 Today one year ago is 27 mrt. 2015 Output for 5.6.12 Today one year ago is 19 apr. 2015 Output for 5.6.11 Today one year ago is 22 apr. 2015 Output for 5.6.10 Today one year ago is 25 apr. 2015 Output for 5.6.9 Today one year ago is 27 apr. 2015 Output for 5.6.8 Today one year ago is 29 apr. 2015 Output for 5.6.7 Today one year ago is 25 mei 2015 Output for 5.5.35 Today one year ago is 22 mei 2015 Output for 5.5.33 Today one year ago is 8 mrt. 2015 Output for 5.5.32 Today one year ago is 16 mrt. 2015 Output for 5.5.31 Today one year ago is 20 mrt. 2015 Output for 5.5.28 Today one year ago is 20 apr. 2015 Output for 5.5.27 Today one year ago is 21 apr. 2015 Output for 5.5.26 Today one year ago is 26 apr. 2015 Output for 5.5.25 Today one year ago is 28 apr. 2015 Output for 5.5.24 Today one year ago is 23 mei 2015 Output for 5.4.0 - 5.4.45 Notice: Object of class DateTime could not be converted to int in /in/gFvPo on line 8
Today one year ago is 1 jan. 1970 Output for 5.0.0 - 5.0.5 , 5.1.0 - 5.1.6 Fatal error: Class 'DateTime' not found in /in/gFvPo on line 4
Process exited with code 255 . Output for 4.3.2 - 4.3.11 , 4.4.0 - 4.4.9 Fatal error: Cannot instantiate non-existent class: datetime in /in/gFvPo on line 4
Process exited with code 255 . Output for 4.3.0 - 4.3.1 Fatal error: Cannot instantiate non-existent class: datetime in /in/gFvPo on line 4
preferences:dark mode live preview
279.39 ms | 401 KiB | 354 Q