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

Date and time fields now emit conversion errors

Has the method of registering data in Powers Date and Time fields changed from Power Automate?

Until 2 days before
addHours (utcNow (), 9, 'yyyy / MM / dd')
I was able to register with
I started to vomit a conversion error now

3 REPLIES 3
Community Support Team
Community Support Team

Re: Date and time fields now emit conversion errors

Hi @mukie ,

 

I have made a test on my side and don't have the issue that you mentioned.

My flow with expression that you provided works well on my side.

Please take a try with your flow again and let me know if your issue still exists.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

mukie
Level: Powered On

Re: Date and time fields now emit conversion errors

Hi @v-alzhan-msft

 

New_date field that is created when a custom entity is created automatically in Dynamics365

There was a difference in the setting of this field in my development environment and production environment.

The difference was in “action”.

In a production environment, the new_date field only works with dates,
If you add addHours (utcNow (), 9, 'yyyy / MM / dd') to this field in Flow, a conversion error will occur.

In the development environment, the operation of the new_date field is user-local, and if you add addHours (utcNow (), 9, 'yyyy / MM / dd') to this field in Flow, registration was successful.

Previously, registration and updating were possible even in a production environment.

Highlighted
mukie
Level: Powered On

Re: Date and time fields now emit conversion errors

An answer was returned from MS.
In the above case, addHours (utcNow (), 9, 'yyyy / MM / dd')
I was told that by setting addHours (utcNow (), 9, 'yyyy-MM-dd') instead, no error occurred.

I asked why it happened.
To be honest, I felt uneasy about the MS system.
There are too many bugs and we don't accept them.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,067)