Setting Glitch server time

javascript
#1

Hello, I am trying to change the timezone of the glitch server so that I can use google spreadsheets.
I tried:
process.env.TZ = 'America/Phoenix'
But this has no effect. Does anyone know why, or have an alternate solution?

#2

Hi @AluminumChassis, welcome to the Glitch forum!

Can you share your project name or the code in question so folks can take a look? I’ll also admit, I’m not clear why you need to change the timezone in order to use Google Sheets. Can you help me understand that?

#3

Maybe you can try adding time difference to the Date.now()?
Also, why you have to change timezone to work with GSheets?