3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timestamp = strtotime('1st January 2004'); //1072915200 // this prints the year in a two digit format // however, as this would start with a "0", it // only prints "4" echo idate('y', $timestamp); ?>

preferences:
46.54 ms | 402 KiB | 5 Q