cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mauros
Frequent Visitor

format dateTime from Planner tasks to excel table

dear All,

 

I'm trying to export tasks data from Planner to Excel table. All data are exported but dueDateTime, startDateTime ana completedDatTime are in format '2020-01-25T00:00:00Z' and I need in format 2021-01-25 ['yyyy-MM-dd'].

I tried a lot of different way suggested without any significant result.

 

date_01.PNG

 

01.PNG

 

excel.PNG

Could someone help me please?

 

cheers

mauros

4 REPLIES 4
miketran13
Solution Specialist
Solution Specialist

Hi,

 

You are in a wrong area though 😊 because here is the community for Power Automate Desktop, try this, it does work well anyway. Create a variable and set the due date to a variable before converting it.

 

Screenshot 2021-01-26 165821.png

 

Thanks and hope it can help you. 

Mike

---------------------------------

Did I answer your question? Please consider to Mark my post as a solution! to guide others

Hi,

thanks for reply. Can I move issue to proper section?

 

Solution suggested by you works fine with one variable but if I set all three variables I need convert, doesn't work. Only the first is set with correct data while other two receive 'null' data.

I'll try to initialize a variable type matrix.

 

00.PNG

02.PNG

03.PNG

 

cheers,

mauros

 

miketran13
Solution Specialist
Solution Specialist

Hi,

 

My suggestion is just an example for Due Date field, if you have more datetime fields then you have to create more variables for that since you can't use one variables for many fields at the same time.

 

Thanks and hope it can help you. 

Mike

---------------------------------

Did I answer your question? Please consider to Mark my post as a solution! to guide others

hi,

yes, I've created more variables.....

 

thanks anyway

mauros

Helpful resources

Announcements
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.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (2,965)