Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Modified Date & Todays Date

(0) ShareShare
ReportReport
Posted on by

I am using a formula in a list that requires the number days from today’s date to be calculated. I can’t find anything online that will make that happen. Is there anything that will address that.  FORMULA is  =if([Applicant Date]>0, [Applicant Date]-[Vacate Date], [Today]-[Vacate Date]

I realize SharePoint doesn’t like the =today() function and returns the modified date but I was wondering if there is a way to make flow update every item in the list each morning so the Modified date is today’s date?

 

I.e. if the item status is set to a particular condition then change a field to add one.

  • Verified answer
    v-micsh-msft Profile Picture
    on at
    Re: Modified Date & Todays Date

    Hi @MelHart,

     

    If you would like to calculate date difference with the current date, we could achieve that within Microsoft Flow.

    Flow uses UTCNow() function to get the current date, and there is formatdatetime() function available which could restrict the format to day only.

    If the month and the year is the same, then it should be available to calculate date difference within Microsoft Flow.

    Further, if month and the year is different, then you may consider create a column under SharePoint, then use Flow to update this column with the current date, after that, do the calculation within SharePoint calculated column.

    Run flows on a schedule

     

    Regards,

    Michael

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.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,620 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,962 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow