cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate V
Advocate V

Add years bug of one day - Add to time

Add to time action has (sometimes) a bug of one day when i add years to timeadd to time bug.PNGadd to time bug2.PNG

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Add years bug of one day - Add to time

Hi @Oos,

 

Thanks for feedback.

The issue could be reproduced by me.

I will help report it and back to you once I got any updates.

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
New Member

Re: Add years bug of one day - Add to time

This is because of leap year support in .NET and the underlying TimeSpan behavior. If you add 1 year time span to 1999-12-31 the result will be 2000-12-30.

 

Here is the public reference remarks:

https://docs.microsoft.com/en-us/dotnet/api/system.datetime.add?view=netframework-4.7.2#remarks

Highlighted
Advocate V
Advocate V

Re: Add years bug of one day - Add to time

Is there a workaround for this? Some of the employees birthday are wrong and i dont know which

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Users online (6,505)