Date & Time Server

Hi team, is there any way to correct my timezones while I am deployed with using render service?

My Node API is showing the results base on my specific times and minute with my local time zone.

I choose my server to Singapore. But my local country is Myanmar (Burma). The API results is showing wrong date and time information.

Please help me to figure it out.

Hi there,

Thanks for reaching out.

It’s usually best to keep all times in UTC (the default on Render instances) and do any timezone conversions in your code, when required.

Changing the timezone on your instance is likely not a good idea, but if you do want to try that, it can be done in the usual Linux way by setting an environment variable for TZ. For example, TZ with a value of Asia/Yangon will make the instance timezone the UTC+6:30 used in Myanmar.

Hope that helps