3v4l.org

run code in 300+ PHP versions simultaneously
<?php $millisInThePast = 50000; $currentDate = new DateTime("2019-10-14T15:08:23.123+02:00"); echo 'Current: ' . $currentDate->format(DATE_RFC3339_EXTENDED) . "\n"; echo 'Past: ' . $currentDate->modify("-{$millisInThePast} msec")->format(DATE_RFC3339_EXTENDED);

This is an error 404

There are `0` results


preferences:
145.61 ms | 1001 KiB | 7 Q