Re: Format all planner task dates in Flow
@surfer1978
Reza and I responded at the same time....his is better. go with that 😉
Hi there!
So...dates are all going to be stored the same way. I'm guessing you'll want to change the presentation before they are presented in an email, right?
There are a few ways to go about this depending on how comfortable you are with expressions. It's not my strongest point, but I've found this kind of thing to be handy...
Here's the one from the thread you mentioned: formatDateTime(outputs('Compose'),'yyyy-MM-dd')
So, we want to see if the field is empty before trying to format it, right? Try this in the expression box: if(empty(outputs('Compose'),'',formatDateTime(outputs('Compose'),'yyyy-MM-dd')))
Totally winging it so it may yell at you, but basically asking if there's a value in the output, and if not keep it blank, and if so, format the value.
Keep us posted.
-Ed-
If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.