Confluence show incorrect time
Asked by Vlad NA:

I've create several pages in my Confluence space

but when I go to page actions I saw that page creation date are incorrect


Answers:
author: Nic Brough -Adaptavist-
body: Best guess is that your operating system and/or java locale settings are pointing to the wrong time zones

Have a look at the system information page to start with.

comments: author: Vlad NA
body: Hi

It run's at Atlassian cloud so I have no access to locat setting and I expect that configuration should be correct


author: Nic Brough -Adaptavist-
body: Ah, sorry, I didn't notice the "Cloud" tag, sorry.

I'm not familiar enough with Cloud to know where the location is set byb default. I've seen Cloud use localised dates, so I know it is possible. I'd check the user profiles and defaults to see if you can tell it where you are, so it will use local date/time


author: Shawn Wilson
body: I'm not on Cloud, but I'm having this problem. My Profile is set to Pacific Time, but the times of edits and changes seems to be UTC.


author: AnnWorley
body: Shawn,

Please check the system time and system date displayed on the page at Confluence Admin\>System Administration and see if the edit times on pages are consistent with the time and date there.

Confluence server pulls the time zone from the operating system; it can be overridden by passing *-Duser.timezone=\<YourTimeZone\>* to the jvm arguments as described here: [Configuring System Properties](https://confluence.atlassian.com/doc/configuring-system-properties-168002854.html).


author: Shawn Wilson
body: It appears I don't have access to the System Administration page.


author: AnnWorley
body: Shawn it may be a good idea to reach out to your Confluence sysadmin because if you do need to change the time zone in the java options the instance will have to be restarted.

Just to verify, the System Information page is at \<Confluence_Base_URL\>admin/systeminfo.action.


author: Shawn Wilson
body: Okay, I'll contact them. Thanks.

(That link gives me a "Not Permitted" screen, so yeah.)

One more thing: our company has locations in multiple time zones. Must they all display the same time in Confluence, or can each use its local time?


author: AnnWorley
body: Further research revealed that the expected behavior is, according to this ancient bug's [comment](https://jira.atlassian.com/browse/CONFSERVER-1026?focusedCommentId=67117&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-67117):

"The user's time zone preference is used for all edit and creation timestamps, in email notifications and RSS, and pretty much everywhere the user sees a date in Confluence.  
The server time zone is used for anonymous users, if the user has no preference set, and also for a few dates that must be consistent for all users -- news item publish dates, dates in XML exports, the build date, and a couple of other minor cases."

So if the timestamps on your edits is inconsistent with what you have set in your profile, Confluence is misbehaving. Please do reach out to your local admin first, they can open a ticket with Support and include logs if they cannot resolve it on their own.


author: Shawn Wilson
body: They fixed it. Thanks again.


author: AnnWorley
body: I don't suppose they shared the solution with you? If by chance they did, please post it here so the Community can learn from it.


author: Shawn Wilson
body: They said "The server was not timezone wrong, it was PDT with the wrong time."


author: AnnWorley
body: Thank you!


author: ashleyg
body: Any idea how to handle this automatically for DST changes both for Jira and Confluence?


author: Yen Xu
body: I am using Confluence cloud and the creation /last updated date is crazy![Screenshot 2019-04-10 at 08.16.17.png](https://tnckb94959.i.lithium.com/t5/image/serverpage/image-id/51081i4267D416CAF13823/image-size/large?v=1.0&px=999 "Screenshot 2019-04-10 at 08.16.17.png")

Any one who experience the same? What happened here?


author: Sandi Mathers
body: -


author: Sandi Mathers
body: Hi! We are experiencing the same problem as Yen Xu above---can anyone at Atlassian help with this? We update dates in our calendar, and then when we go back later, all the times are changed to 630am?  

Pls help! Thx!


author: Yen Xu
body: Hi, I got help from Atlassian support. Created a jira and they respond quickly. The reason for the crazy dates was wrong java formatted datetime.


author: Sandi Mathers
body: Hi [@Yen Xu](/t5/user/viewprofilepage/user-id/2603408) ! Thank you for replying so quickly --- how did you format the java datetime? Thx for the help!


author: Yen Xu
body: Go to your confluence configuration and check the date time format. Control if it is in java format. You can test by create a simple test.


author: Yen Xu
body: ...


Tags: cloud

confluence-cloud