var someDate1=new Date() ; var someDate2=new Date(Date.UTC(2017,10,1)) ; alert(someDate1); alert(someDate2);