Timezones are problematic things to work with. There are ways to setup timezones in your script, in your spreadsheets, and of course on your browser/pc
It is probably a timezone setup wrongly somewhere which gets you the different behaviours.
--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/878e9fdb-95ff-4682-9086-1ace1c4f38c9n%40googlegroups.com.