<?php $str = '/Date(1576648800000)/'; if(preg_match('/\((\d+)\)/',$str,$matches) === 1){ $date = date("Y-m-d H:i:s",intval($matches[1]) / 1000); echo $date; }else{ throw new Exception('Unexpected format received from the API'); }
You have javascript disabled. You will not be able to edit any code.