cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MelHart
New Member

Modified Date & Todays Date

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.

1 ACCEPTED SOLUTION

Accepted Solutions
v-micsh-msft
Community Support
Community Support

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

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

View solution in original post

1 REPLY 1
v-micsh-msft
Community Support
Community Support

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

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (3,698)