Expand my Community achievements bar.

How to stop datetime conversion in aem 6.4?

Avatar

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