How can I set Sys.setlocale() to GMT or UTC time zone?

I can use the command Sys.setlocale('LC_TIME') but instead of local machine time zone, I would like to enforce GMT or UTC. Looking through the documentation, it wasn't so clear how I can do this. I tried Sys.setlocale(strptime(tz = 'GMT')) and Sys.setlocale('GMT') to no avail. Any hints?

Hi @pathos,
Several possible solutions talked about here:
https://stackoverflow.com/questions/6374874/how-to-change-the-default-time-zone-in-r

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.