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

6 Month Reminder

Hi There,

Can anyone help in removing a timestamp from a date pulled from a calculated column:
2020-06-30T23:00:00Z

 This Is the data I get from the calculated column (Even though in the column settings it says it is “Date Only”.

I need to remove the hours minutes and seconds so that the result is just 2020-06-30
I will have a library of 100 policies or more so I need to format all the dates in the flow before I then pass them through a condition to see if they are in need of review in 6 months or not.

 

Any Help will be great!

4 REPLIES 4
abm
Super User
Super User

Hi @BK64 

 

Here it is

 

image.png

 

The format I used is as follows

 

formatDateTime(outputs('Compose'),'yyyy-MM-dd')
 
Thanks


Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

BK64_0-1593587546720.pngBK64_1-1593587586953.png

Thanks for your reply @abm , Couldn't get it to work but I'm wondering if it is because of the way I have implemented it?

Not sure If I am laying it out correctly. Just for testing, I have changed it to remind me for 1 day in the future and just to send me simple notifications. 

Hi @BK64 

 

Check your run history data? It's difficult to analyse from the screenshot you provided.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Hi @abm 

I wasn't able to implement the solution you provided so I can even get run history. 
Can you recommend a way to implement what you suggest into my flow?

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,225)