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

SOLVED

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

Avatar

Level 4

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 3

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 3

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

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