Expand my Community achievements bar.

Way to remove the timestamp from the metadata field for expiry date

Avatar

Level 4

Hi,

 

I looking for a solution to remove the timestamp from the metadata schema for licence expiry date field. Currently it is showing like below. we want to see only the date not the timestamp and all. Please let me know if anyone knows the solution.

 

BhavaniBharani_1-1732091932329.png

 

 

Thanks in advance!

 

 

 

Regards,

Bhavani bharanidharan

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

4 Replies

Avatar

Level 5

Hi @BhavaniBharani 

 

In order to edit/add properties, please navigate to metadata schema editor in AEM and make necessary changes

 

This is OOTB metadata scheme editor, please check below article for detailed approach to follow 

 

PRATHYUSHA_VP_0-1732092950019.png

 

 

https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/manage/me...

 

Hope this helps

 

Thanks

Avatar

Level 4

Hi @PRATHYUSHA_VP ,

 

I have the license expiry date already added in the metadata schema when adding a license expiry date in the asset, we don't want to see the timestamp. 

 

Thanks,

Bhavani bharanidharan

Avatar

Level 4

Hi @PRATHYUSHA_VP ,

 

We have content hub enable for our aem assets, where we can able to use the filter to search the assets using the license expiry field, there we are actually seeing the date with some timestamp(min, hours,..). So as checking in AEM repository browser the value is getting stored as prism:expirationDate -> 2029-07-31T13:33:00+10:00 like this. So in content hub also we are getting the value with timestamp(as mentioned in the screenshot). We don't want to see the timestamp in content hub, as the values are getting pulled from the aem, looking for a way to trim those timestamp value while storing the value in the aem node.

 

Hope this gives some more clearance to my previous question!

 

 

Thanks again!

 

Avatar

Level 5

Hi,

 

Yes indeed i get it what you're looking for, i have gone through the default metadata schema, it uses default OOTB datepicker which contains timestamp by default. 

 

Whereas in content fragment editor, we get to choose to display date / time.

 

In asset metadata schema editor, datepicker contains timestamp

 

PRATHYUSHA_VP_0-1732095053138.png

 

For your scenario, customization is needed 

 

Thanks