cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bhayden
Advocate I
Advocate I

Issue with Patching Date/Time

Hello,

 

We have been using Powerapps for over a year now and a new issue just popped up.

We patch Date/Time values quite a bit in our app using the following format.

 

ETA: outsideETADateValue.SelectedDate + Time(
Value(outsideETAHourValue.Selected.Value),
Value(outsideETAMinuteValue.Selected.Value),
0

 

As of last week, we are no longer able to patch these values through, has anyone else noticed this issue?

This seemed to have happened after I published the newest Powerapps version.

2 REPLIES 2
iAm_ManCat
Super User
Super User

Have you tried troubleshooting with labels?

Set a label up for each of the items:

  • outsideETADateValue.SelectedDate
  • Value(outsideETAHourValue.Selected.Value)
  • Value(outsideETAMinuteValue.Selected.Value)
  • Time( Value(outsideETAHourValue.Selected.Value), Value(outsideETAMinuteValue.Selected.Value),0)
  • (outsideETADateValue.SelectedDate + Time( Value(outsideETAHourValue.Selected.Value), Value(outsideETAMinuteValue.Selected.Value), 0 )

Then see whether it is a particular part that is no longer working as expected or if the formula has changed its requirements slightly and needs a different format.

 

If you're still stuck, let me know how you're getting the hour values - what kind of control are you using to select them?

 

Also: try changing to SelectedText.Value instead of Selected.Value - I had a few Apps where this changed from Selected.Value although the previous had worked before.

 

Cheers,

ManCat

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


Anonymous
Not applicable

Hi @bhayden how are you progressing with this? Was the above reply helpful?

 

@Anonymous 

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,503)