I am trying to check the time received from data base and the present date and time so that the user will not be able to update the data send after some times
var data = 1572613310373 ;
// Date from Date.now();
`data = (Date.now()- data)`;//**The information is 78248**
how to convert the data into yyyy-MM-dd HH:mm:ss format