Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to stop datetime conversion in aem 6.4?

Anderson_Hamer
Level 4
Level 4

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

0 Replies