This article documents how to change the time zone in your Liferay DXP 7.0 environment.
Given that users are working with the Liferay platform from all over the world, it is important to have the ability to change the time zone. You can do this at two different levels; the individual user's level, and by system administrators at the instance level.
Resolution
Setting the Platform's Time Zone at the Individual Level
Any user can change their own time zone settings regardless of their role.
- On the home page, click on {your name} on the left side of the exposed Control Panel
- Under My Account, click on Account Settings
- Click the Miscellaneous tab
- Click Display Settings to expose the drop down menu
- The default time zone is (UTC) Coordinated Universal Time.
- Select a new time zone (e.g. (UTC -4:00) Eastern Daylight Time)
- Click the Save button
At this point, the time will now be displayed in the new time zone you have chosen.
Setting the Platform's Time Zone at the Instance Level
In Liferay DXP 7.0, administrators can create multiple instances to display scoped content on multiple domains on the same instance. Each virtual instance has settings that are independent of each other. Time zones are set at the instance level, not at the server level.
To set the time zone at the Instance Level, follow these steps:
- Sign in as the administrator (if not already signed in)
- Navigate to Control Panel → Configuration → Instance Settings
- Click the Miscellaneous tab
- Under Display Settings, scroll down to Time Zone
- Select a new time zone (e.g. (UTC -4:00) Eastern Daylight Time)
- Click the Save button
At this point, this particular instance will be set to Eastern Daylight Time. Notice this does not affect other virtual instances.