web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Date format converting...
Power Automate
Unanswered

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

 

 

Categories:
I have the same question (0)
  • Verified answer
    CFernandes Profile Picture
    8,402 Most Valuable Professional on at

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

     

  • efialttes Profile Picture
    14,756 on at

    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

  • efialttes Profile Picture
    14,756 on at

    @Anonymous 

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

    Good Job and... happy flowing!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard