cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sajith
Helper III
Helper III

Date Issue in Appen to Array Variable

The data source is excel and trying to  get the date field.

 

Excel-Data.png

 

But in Power Automate, step the date field is  coming as follows in JSON Format.

PowerAutomate.png

How to get the date format so that we can send it as email.

1 ACCEPTED SOLUTION

Accepted Solutions
ScottShearer
Super User III
Super User III

@Sajith 

In your Excel action, set the DateTime format to ISO 8601 - you'll find this in advanced options.  This will return a date rather than a number.

Then, you can use a formatDateTime() expression to format the date as appropriate.  Let me know if you need an example.

image.png

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

1 REPLY 1
ScottShearer
Super User III
Super User III

@Sajith 

In your Excel action, set the DateTime format to ISO 8601 - you'll find this in advanced options.  This will return a date rather than a number.

Then, you can use a formatDateTime() expression to format the date as appropriate.  Let me know if you need an example.

image.png

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (2,152)