Hi there,
i want to get help on adding the below items into collection. Please assist.
Based on the if condition, if it is future time slot, the collection should not hold that value.
If(TimeValue(Now())<TimeValue("5:30"), Set(varddtimeItems, "5:30 AM"),
If(TimeValue(Now())<TimeValue("8:30"), Set(varddtimeItems, "8:30 AM"),
If(TimeValue(Now())<TimeValue("18:45"), Set(varddtimeItems, "6:45 PM"),
If(TimeValue(Now())<TimeValue("21:30"), Set(varddtimeItems, "9:30 PM")))))