Hi @UC3378 ,
Add another drop down at the right with Items
["AM", "PM"]
and the Default
If(
Hour(Parent.Default) < 12,
"AM",
"PM"
​​​​​​​)
The Items of the Hour control
["12","01","02","03","04","05","06","07","08","09","10","11"]
and the Default
With(
{
_AMPM:
Mod(
Hour(Parent.Default),
12
)
},
Text(
If(
_AMPM = 0,
12,
_AMPM
),
"00"
​​​​​​​ )
​​​​​​​)
Now the Update of the Data Card
DateControlName.SelectedDate +
Time(
If(
AmPmControlName.Selected.Value = "PM",
12,
0
) +
Mod(
Value(
HourControlName.Selected.Value
),
12
),
Value(
MinuteControlName.Selected.Value
),
0
)
NOTE - you will need to replace the control names above with yours.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.