Function to convert time to AM or PM format
Hi,
As per my requirement i am getting ProcessedDate== "2024-05-10 07:29:31.271", from here i have taken a sub string i.e, 2024-05-10 and i need to convert 07:29:31.271 to 07:29 AM/PM.
How to accomplish this requirement by using function.
EG: I need Output like this 05/10/2024 - 07:29 PM
Hi @srikavyav,
Hope the below link helps
https://support.pega.com/question/convert-time-format-hhmmss-hhmmss-ampm
Thanks.