javascript get current date milliseconds code example
Example 1: js read date from milliseconds
const miliseconds = 1604395966369;
const date = new Date(miliseconds);
Example 2: javascript get Time
var d=new Date();
d.getTime();//I'm in milliseconds, divide by 1000 for seconds