var currentDate = new Date()
var day = currentDate.getDate()
var month = currentDate.getMonth() + 1
var year = currentDate.getFullYear()
However, when referencing these variables, it simply returns day1 = 0, month1 = 0 and year1 = 0. I thought it would pick up the date values on my computer. what am I doing wrong?