cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bhayden
Level: Powered On

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
Super User
Super User

Re: Issue with Patching Date/Time

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




Don't forget to 'Mark as Solution' if a post answered your question and always 'Thumbs Up' the posts you like or helped you!
Administrator
Administrator

Re: Issue with Patching Date/Time

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

 

@TopShelf-MSFT 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 323 members 6,323 guests
Please welcome our newest community members: