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 / Convert serial number ...
Power Automate
Unanswered

Convert serial number to date format

(0) ShareShare
ReportReport
Posted on by 6

I have a flow that takes appointment dates from a spreadsheet and sends an sms appointment reminder to a user. At the moment it appears serial number format 44307 in the sms rather than date format dd/mm/yyyy can the flow convert this rather than having to edit the original spreadsheet? 

Categories:
I have the same question (0)
  • Paulie78 Profile Picture
    8,422 Moderator on at

    Something like this:

    addDays('1899-12-30', int(44307), 'dd-MM-yyyy')

    In an actual flow you would probably have something like item()['Date'] instead of 44037 for example. The dynamic date value from excel basically. I've specified the date formatting there also, which you might want to change.

  • 83dons Profile Picture
    6 on at

    Please see screenshot. It's the field Appmt_Date. 

    flow1.jpg

  • Pstork1 Profile Picture
    68,707 Most Valuable Professional on at

    Following up on @Paulie78 's formula, that will only work if the date is a date only field in Excel.  Serial dates often include decimal values to represent partial days (time).  Since Flow's INT() function can't handle decimal whole numbers I normally recommend using a more involved formula that will convert from decimal whole numbers as well as integers.   Yours should be something like this:

    addseconds('1899-12-30',int(formatnumber(mul(float(items('List_rows_present_in_a_table')['appmt_Date']),86400),'0’)))
    
    

     

  • 83dons Profile Picture
    6 on at

    How do i do that given the setup above. Totally new to flows. The spreadsheet has two date fields which look OK and are in date format but flows must be reading them in as text. One date field is whole numbers the main one and the other has decimal places once you convert to text in excel. 

  • 83dons Profile Picture
    6 on at

    Something wrong in the wording 

    flow2.jpg

  • Verified answer
    Pstork1 Profile Picture
    68,707 Most Valuable Professional on at

    The items('List_rows_present_in_a_table')['appmt_Date'] was my approximation of the field you are using.  If you hover over the AppmtDate field in your current email the tool tip will show you what it should be.

  • nmasmo Profile Picture
    91 on at

    Useful if you're working with Date only field.

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard