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
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!

Top Solution Authors
Top Kudoed Authors
Users online (2,195)