How to stop datetime conversion in aem 6.4? | Community
Skip to main content
Anderson_Hamer
Level 4
November 25, 2019

How to stop datetime conversion in aem 6.4?

  • November 25, 2019
  • 0 replies
  • 1564 views

We have a logic in back-end that gets the time & sets the timezone and finally sets the property in aem. The final property set as 2019-11-25T07:00:00.000+01:00 (Amsterdam timezone). When I try to read this property in jsp, like ${propName}, this is somehow getting converted and displaying as Mon Nov 25 11:30:00 IST 2019, All I can understand is that it is converting the time to local system/ or where jvm is located.

All I need is, display the value as it stored in content repo .Is there any we can stop converting the time zone?

xtype used - datetime

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