3v4l.org

run code in 200+ PHP versions simultaneously
<?php $formatter = new IntlDateFormatter( 'nl_NL', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'Europe/Amsterdam', IntlDateFormatter::GREGORIAN, "Y-MM-dd" ); echo $formatter->format( new DateTime('2017-01-01 12:00:00', new DateTimeZone('Europe/Amsterdam')) );
based on PZuV6
Output for 7.0.0 - 7.4.0
2016-01-01