Announcements
Hello!I'm trying to count the difference between 2 data inputs.Help me please count DD MM and YYYY
Hi @KK76875875
Please try the below expression:
Refer the below link to learn How to find the number of days between two dates using Power Automate
https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/How-to-find-the-number-of-days-between-two-dates-using-Power/ba-p/837372
Hope this will help you.
Regards
Kaif
Hello @Kaif_Siddique I have 2 inputs, not a static dates, I used them just for exampleAnyway, I used your formula and it return -139 value or 139 if I swap variables for
Found solution on another forum How to substract two datetime objects in Power Automate - Debajit's Power Apps & Dynamics 365 Blog (debajmecrm.com)
I took static date values for sample reference.
Anyway, issue is resolved and thank you for accepting and closing it.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Haque 58
David_MA 53 Super User 2026 Season 1
Expiscornovus 36 Most Valuable Professional