Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Date format converting to numbers

(0) ShareShare
ReportReport
Posted on by

I have date column in excel like this:

abhishekmundra_0-1600425259618.png

I'm sending same table to outlook email but date column data is changing to 44096. Please assist

 

 

  • efialttes Profile Picture
    14,756 on at
    Re: Date format converting to numbers

    @Anonymous 

    So, you finally transformed your Excel date column format from date to text, right?

    Good Job and... happy flowing!

  • efialttes Profile Picture
    14,756 on at
    Re: Date format converting to numbers

    Hi!

    44096? The number you got is due to the fact the Excel column is formatted as Date, right?

    It represents nr of days since 1899-12-30; it's the internal format used by Excel.

     

    So either you switch the Excel column format into text, and apply @CFernandes suggestion or, keep it as date format, and once in your Flow, transform into ISO 8601 date format, wich is the internal one handled by Power Automate. Wanna keep the date format? Then you can use the following WDL expression:

     

     

     

    addDays('1899–12–30T00:00:00Z',int(item()?['TestingDate']))

     

     

     

    Just replace item()?['TestingDate'] and use instead the dynamic content element representing your Date column.

     

    Please note addDays() offers optionally the possibility to customize ISO 8601, in a similar way as formatDateTime() does. I haven't customized the output in my example.

     

    For more info, please have a look to this excellent article:

    https://www.bythedevs.com/post/working-with-date-time-data-of-excel-in-power-automate

    Hope this helps

  • Verified answer
    CFernandes Profile Picture
    8,283 Most Valuable Professional on at
    Re: Date format converting to numbers

    @Anonymous 

     

    Hey Mate,

     

    Can you try using the formatdatetime() function.

     

    formatDateTime('9/22','dd-MM-yyyy')

     

    CFernandes_0-1600426036147.png

     

    You can find more details at https://sharepains.com/2018/11/12/formatdatetime-flow-power-automate/

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow