3v4l.org

run code in 200+ PHP versions simultaneously
<?php // Now $time = time(); // Date you want $date = new DateTime('2014-09-18'); $newTime = $date->format('U'); // Copy paste the result into the command below echo ($time - $newTime) * 1000;
based on 0v4mh
Output for 7.1.25 - 7.4.0rc2
159655953000