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?
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?
Maybe you can try adding time difference to the Date.now()
?
Also, why you have to change timezone to work with GSheets?