I'm having trouble with something that should be very simple - just creating a Date() in Google Apps Script (javascript)
var thisdate = new Date('2017-02-12');
Logger.log(thisdate.toString());
This test results in 'Invalid Date'... I must be missing something really obvious!?
Thanks