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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Converting number to date
Power Apps
Unanswered

Converting number to date

(0) ShareShare
ReportReport
Posted on by 8

Hello,

I am trying to convert a number of with 10 decimals to a date / time in Power Apps.

 

The number comes from an Excel file like this:  Kevin_KIrby_0-1694426406305.png 

In Power Apps it is like this: Kevin_KIrby_1-1694426989529.png

 

Regardless of which formula I try, I don't get the wanted result which is dd-mm-yyyy hh:ss

 

Can anyone help?

Categories:
  • Chris-D Profile Picture
    1,246 on at

    Hi @Kevin_KIrby,

     

    45175 is the number of days since 01/01/1970. You can convert it to a date like this:

    DateAdd(Date(1970,1,1), 45715, TimeUnit.Days) -1

     

    I don't recognise your second number as a timestamp though, where did it come from? 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard