Is there a default timezone for Google Sheets script?
Is it dependent on the user setting, or account geo location, or it's always a fixed timezone?
For example when I issue the following I would like to know what the timezone would be:
new Date();
Preferably I would like to set this to either UTC or PST, if possible.
The script is supposed to be run by cron jobs via web apps.
After much research, I ended up using moment.js in the script, which is much easier to work rather than Date which defaults to browser timezone. Hope this helps someone.
Moment.js has a much better control over timezone for parsing and showing dates.