GS code comes back one day off when getting date from 3/9/2020 - 4/5/2020
All dates between 3/9/2020 - 4/5/2020 comeback incorrect.
- Google sheet add date column with date 3/9/2020
- Add code to gs below
- Comes back: Sun Mar 08 2020 23:00:00 GMT-0600 (CST)
3/9/2020 Sun Mar 08 2020 23:00:00 GMT-0600 (CST)
4/5/2020 Sat Apr 04 2020 23:00:00 GMT-0600 (CST)
var data = SpreadsheetApp.getActiveSpreadsheet().getDataRange().getValues();
SpreadsheetApp.getUi().alert(data[0][0]);
Here is the google sheet: link