3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '/Date(1617667200000+0000)/'; preg_match('#\/Date\((\d{10})#', $text, $matches); $dt = new DateTime('@'.$matches[1]); echo $dt->format('Y-m-d H:i:s');

preferences:
66.13 ms | 404 KiB | 5 Q