How do I make the Datepicker show AM/PM(12hour format) when selecting time?

Avatar

Avatar

manpreetjord

Avatar

manpreetjord

manpreetjord

20-02-2020

I am creating a countdown timer using Datepicker. The user can select a future date from today for the countdown timer. When authoring this the user is able to select the date but when entering the time it is not mentioned anywhere whether it is a 24 hour time or not. By default it is 24 hour. I want to make it to 12 hour format so that the user can select AM/PM aswell.

Want to show AM/PM option for the user instead of 24hour format.Want to show AM/PM option for the user instead of 24hour format.

 

Let me know if it is possible in this scenario or I will have to use some other aproach.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

20-02-2020

I think it is not possible and yes the time format is 24 hours time.

more info at https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/granite-ui...

 

Answers (0)