Question

19
Views
Vikram Reddy (Vikram22)
TechMahindra

TechMahindra
IN
Vikram22 Member since 2014 28 posts
TechMahindra
Posted: July 28, 2021
Last activity: July 28, 2021
Posted: 28 Jul 2021 10:16 EDT
Last activity: 28 Jul 2021 10:35 EDT

How to convert 24 hours time to 12 hour time

Hi All,

I have created property RequiredTime property as Text and referred in a section configured as DateTime Control in presentation tab configuration are attached in Presentation screen shot attached.

Requirement is user should display 12 hour format for time selection for other than en_US locale  on clipboard its HH:MM:SS format

 

 

Example for below locales:

For en_US if user selects 1:28 PM on clipboard it shows 1:28 PM

Ex: en_GB if user selects 1:28 PM on clipboard it shows 13:28 PM required to show 1:28 PM

 

Any suggestions highly appreciated

 

Thanks in advance 

 

Pega Platform 8.5.4 Low-Code App Development App Studio Healthcare and Life Sciences Senior System Architect