Skip to main content
System StatusContact Support
VersionOne Community

Setting the System Timezone

Overview 

Follow these instructions to set the system timezone on Linux.

Continuum relies on the timezone of the linux host and whatever timezone the MongoDB database is set to. Users can set their local timezone for display purposes used on some pages. However data stored in the database will use the system timezone.

To set the system timezone on linux, use the following steps.

Find your TZ value to use here:

https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

Now set the timezone using the command line substituting the with the selected zone.

sudo timedatectl set-timezone 

example for EST:

sudo timedatectl set-timezone America/New_York

example for PST:

sudo timedatectl set-timezone America/Los_Angeles

Then restart MongoDB to force the database to use the timezone setting. NOTE: this will require a minute or two of Continuum downtime.

ctm-stop-services
sudo service mongod restart
ctm-start-services
  • Was this article helpful?