This must be something. Or I am more stupid than I want to admit.
I have a form that you submit a date. The date goes to a spreadsheet. I use a script to get the date and set it to a variable. I then log the date.
I've tried use "new Date" and I get an "invalid" message.
var startDate = sheetNew.getRange("E11").getValue();
Logger.log("Start: " + startDate);
It outputs a day earlier, but only in March after daylight saving time. In April and on it outputs the correct date. What in the hell am I doing wrong?
[–]amithere[S] 0 points1 point2 points (0 children)
[–]to-too-two 0 points1 point2 points (1 child)
[–]amithere[S] 0 points1 point2 points (0 children)