Read data from excel (date column set as custom data type) ---- in logic apps and convert to json

Shripad J 1 Reputation point
2020-07-28T09:07:28.367+00:00

Dear Gurus,

I have a excel file and it is currently getting converted to JSON in logic Apps.
Problem is the date field in the excel is set to custom data type
When converted to json the date reads as a number ex: 43139

Is there a way to handle this scenario.

Thanks in advance.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,955 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,606 Reputation points Microsoft Employee
    2020-07-28T16:15:18.2+00:00

    This is because that's how dates work in excel. Dates are stored as sequential serial numbers representing the number of days from January 1, 1900.

    You can read more about this in the DATEVALUE Function docs.

    0 comments No comments