new Date(new Date().getTime() + (30000)) code example
Example 1: js get date in ms
Date.now() // 1602680486141
Example 2: javascript get Time
var d=new Date();
d.getTime();//I'm in milliseconds, divide by 1000 for seconds
Date.now() // 1602680486141
var d=new Date();
d.getTime();//I'm in milliseconds, divide by 1000 for seconds