I am trying to obtain a date with this code. I came up with August 8 and a friend thinks it is July 8 so I am confused? If I go with the month ending up as 8then couldn't it even be September?
Now = newDate()
newMonth = Now.getMonth()
newDate = Now.getDate()
I thought that months of the year are 0-11 as getMonth() and days of the week are 1-31 as getDate(). If newMonth = 8 and newDate = 8 then what date should this give?
Now = newDate()
newMonth = Now.getMonth()
newDate = Now.getDate()
I thought that months of the year are 0-11 as getMonth() and days of the week are 1-31 as getDate(). If newMonth = 8 and newDate = 8 then what date should this give?
Comment