Hi
I want to add some hours and minutes to a variable, but after change datetimeformat, the varialbe goes to empty.
I tryed:
Set(
Hora930;
DateAdd(
DateAdd(
DateValue(
// DateValue5.SelectedDate;
Today();
DateTimeFormat.ShortDate
);
9;
TimeUnit.Hours
);
30;
TimeUnit.Minutes
)
);;
But when i try to view Hora930 to a textbox its empty ,also when i try to view the variable in Powerapp variables.
But if i comment DateTImeFormat.ShortDate with // i see in the textbox: 10 marzo 2023
Does anybody know whats happend?
Thanks