DXP 7.2 ADT - How to get updated date for custom document type?DXP 7.2 ADT - How to get updated date for custom document type?https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1212578122024-03-29T10:08:58Z2024-03-29T10:08:58ZRE: DXP 7.2 ADT - How to get updated date for custom document type?Mohammed Yasinhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1212606242021-11-25T06:54:19Z2021-11-25T06:54:18Z<p>Hi,</p>
<p>In ADT all elements being displayed are assets, hence their title,
created date, modified date , .. etc will be available in asset entry
object itself.</p>
<p>You can try below code in your ADT to display last modified date in
required format.</p>
<pre>
<code class="language-java"><#assign dateFormat = "MM-dd-yyyy" />
<#if entries?has_content>
<#list entries as curEntry>
${curEntry.getTitle(locale)}<br/>
${dateUtil.getDate(curEntry.getModifiedDate(), dateFormat, locale)}
</#list>
</#if></code></pre>
<p> </p>Mohammed Yasin2021-11-25T06:54:18ZDXP 7.2 ADT - How to get updated date for custom document type?John Cressmanhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1212578112021-11-22T14:56:32Z2021-11-22T14:56:31Z<p>In an ADT using Freemaker in an asset publisher, how can I retrieve
the equivalent of the last modified date for the custom document and
then display it in