Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

HTL code to add page creation date on the page in AEM as a Cloud Service

Avatar

Level 5

I am using HTL for rendering page properties on a page. I want to show the date when the page was created but unable to do that through HTL. Is there a way only using HTL?

1 Accepted Solution

Avatar

Correct answer by
Level 4

you can use this ${properties.jcr:created.getTime.toString}

output will be - Fri Mar 11 14:54:36 IST 2022

View solution in original post

2 Replies

Avatar

Correct answer by
Level 4

you can use this ${properties.jcr:created.getTime.toString}

output will be - Fri Mar 11 14:54:36 IST 2022