Time Picker - Can the am/pm portion be defaulted?

0 Answers 64 Views
TimePicker
Leslie Portugal
Top achievements
Rank 1
Leslie Portugal asked on 20 Mar 2023, 12:17 AM
Is it possible to default the am/pm portion of the time picker display?
The reason I ask is if the valid range already knows that you can only enter PM time, then we should be able to default this AM/PM portion.

Thanks!
Romanu
Top achievements
Rank 1
commented on 20 Mar 2023, 04:07 AM

How do you set the time to AM and PM? 

 

 

Thogai forum

Leslie Portugal
Top achievements
Rank 1
commented on 20 Mar 2023, 04:16 AM

How do you set the time to AM and PM? 

I should have clarified that it is AM/PM in the placeholder text that I wanted to default.
I am not sure if there is a property to set, or a method that can be called.
Programmatically, you can only give it a DateTime and it will extrapolate the AM/PM depending on the hour.
So if the model does not have the time component, then we cannot change the AM/PM designator displayed in the placeholder text.

No answers yet. Maybe you can help?

Tags
TimePicker
Asked by
Leslie Portugal
Top achievements
Rank 1
Share this question
or