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

Date formatting issue while reading excel online table data

Hey,

 

I have recently observed that when we read excel online data using power automate then all the date fields of the excel table are coming in date formatted string ("2019-06-18T00:00:00.000Z") instead of integer value which we used to get earlier.

 

Are there, any updates made by Microsoft recently, or this is only happening with me. Because lots of things are breaking due to this change.

 

Please let me know if anyone else is also facing the same scenario...

 

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User II
Super User II

Hi @lalitmishra1988 ,

 

Yes, unfortunatelly or happily (depends of how many flow using Excel as datasource), the Date format imported from Excel data type column is not anymore a serial number (integer relative to 01/01/1900) but a string in ISO-8601 date representation.

I have had some work to do to restore the flows of customers affected by this change.

 
An interesting fact that I tested is that if the column in Excel contains inconsistent data (not all of the same type), then the answer regarding the given date values ​​is returned as integers.
That's probably just a matter of time.
 
Hope it helps !

View solution in original post

4 REPLIES 4
Solution Sage
Solution Sage

@lalitmishra1988 try formatting the date :

 

formatDateTime(utcNow(),'yyyy-MM-dd') /*gets formats UTC*/

formatDateTime(outputs('Get_item')?['body/MeetingTime'],'yyyy-MM-dd')  /*formats dynamic date*/

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Super User II
Super User II

Hi @lalitmishra1988 ,

 

Yes, unfortunatelly or happily (depends of how many flow using Excel as datasource), the Date format imported from Excel data type column is not anymore a serial number (integer relative to 01/01/1900) but a string in ISO-8601 date representation.

I have had some work to do to restore the flows of customers affected by this change.

 
An interesting fact that I tested is that if the column in Excel contains inconsistent data (not all of the same type), then the answer regarding the given date values ​​is returned as integers.
That's probably just a matter of time.
 
Hope it helps !

View solution in original post

Thanks for the confirmation...could you please tell me when was it changed. Because everything was working as expected till 15th Dec 2020.

Well, somewhere between 08 January (the last time on one of my customes flows  runs succesfully) - 15 January (date when I was aware of this issue).

All my credits should go to @Hardesh15 . 

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (92,413)