1. Insert Dropdown IN Datacard
2. In data Card:
Update Property:
DateValue14.SelectedDate +
Time(
If(
Dropdown7.Selected.Value = "PM",
12,
0
) +
Mod(
Value(
HourValue14.Selected.Value
),
12
),
Value(
MinuteValue14.Selected.Value
),
0
)
3. In Hour field:
Items prpoerty: ["12","01","02","03","04","05","06","07","08","09","10","11"]
Default property: Text(If(Mod(Hour(Parent.Default), 12) = 0, 12, Mod(Hour(Parent.Default), 12)),"00")
4. In Dropdown:
In default property: If(Hour(Parent.Default) < 12, "AM", "PM")
In Items property: ["AM","PM"]