1var date = new Date().getDate(); //To get the Current Date
2var month = new Date().getMonth() + 1; //To get the Current Month
3var year = new Date().getFullYear(); //To get the Current Year
4var hours = new Date().getHours(); //To get the Current Hours
5var min = new Date().getMinutes(); //To get the Current Minutes
6var sec = new Date().getSeconds(); //To get the Current Seconds