Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Timestamp in AEM

Avatar

Level 4

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.

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi

Please have a look at this thread:-

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

//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

View solution in original post

3 Replies

Avatar

Level 10

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

Avatar

Correct answer by
Administrator

Hi

Please have a look at this thread:-

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

//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