var date1 = new Date();
var date2 = new Date(200000000000);
var date3 = new Date("2022-01-31");
var date4 = new Date(2022, 01, 31, 6, 59, 59, 15);
document.write('1 - Current Date: ' + date1, '<br/>');
document.write('2 - 2 Million milliseconds from Jan 1, 1970: ' + date2, '<br/>');
document.write('3 - Using Datestring: ' + date3, '<br/>');
document.write('4 - Using compltete date and time information: ' + date4, '<br/>');