// Getting date and time with javascript
// example: 1/11/2021 1:34:29
var currentdate = new Date();
var datetime = currentdate.getDay() + "/" + currentdate.getMonth()
+ "/" + currentdate.getFullYear() + " "
+ currentdate.getHours() + ":"
+ currentdate.getMinutes() + ":" + currentdate.getSeconds();
var currentDate = new Date();
// to add 6 days to current date
var duedate = currentDate.addDays(6);