Is there a way to code the reported hour and minutes to be the current value if unselected. but report the selections otherwise.
I have set the update as in the date card as follows.
Switch(IsBlank(HourValue1) || IsBlank(MinuteValue1), true, DateTimeValue(DateValue1.SelectedDate& "00:00"), DateTimeValue(DateValue1.SelectedDate&" "&HourValue1.Selected.Value&":"&MinuteValue1.Selected.Value))
In Summary, I require the date, hour and minutes to default to current date, hour and minutes if unselected, and to report the selections when selected.
I have managed some success by selecting Today() on the default date and setting AllowEmptySelection to true on the hour and minute controls. That solves the problem if no selection is made, but not if a retroactive date is set.
I understand what if/else statements in nested Excel functions, but I am new to the Power Apps code syntax.
Any guidance how to solve that riddle would be gratefully received.
@BCBuizer , as you kindly resolved some the issues already, and offered guidance on this new query, please can you advise?