Timestamp in AEM | Community
Skip to main content
Level 4
March 16, 2016
Solved

Timestamp in AEM

  • March 16, 2016
  • 3 replies
  • 2156 views

I want to change the timezone of the page which I am activating,currently it is displaying as per my system generated time IST but I want to change that to PST.Can you any property or steps for it.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

Hi

Please have a look at this thread:-

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__4gw9-hi_our_serversa.html

//In the start up script pass the JVM  param -Duser.timezone with the value you want

I hope this would help you.

Thanks and Regards

Kautuk Sahni

3 replies

edubey
Level 10
March 16, 2016

I guess as a default, it will take browsers timestamp, the timezone where you have opened the browser

In code when you are getting value with IST timezone, you can convert it to PST programatically.

http://stackoverflow.com/questions/12487125/java-how-do-you-convert-a-utc-timestamp-to-local-time

Level 4
March 16, 2016

Here is an older thread that discusses this: 

https://forums.adobe.com/thread/1061940?tstart=0

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
March 17, 2016

Hi

Please have a look at this thread:-

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__4gw9-hi_our_serversa.html

//In the start up script pass the JVM  param -Duser.timezone with the value you want

I hope this would help you.

Thanks and Regards

Kautuk Sahni

Kautuk Sahni