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 / How to read a DATE wit...
Power Apps
Answered

How to read a DATE with a Gallery

(0) ShareShare
ReportReport
Posted on by 6

 

Hi everyone,

 

I need your help, I'm trying to create a gallery from a Excel-Online, in the column "Report Sent", I have Date information, the issue is when PowerApps reading with a gallery this information...

Crios29_0-1638225488459.jpeg

 

appear like this:

PowerApps Galley.JPG

What should I do with this problem? I tried change the format to "DateTimeFormat.LongDate", but nothing happens, thanks four time and help.

 

Best Regards,

Carlos

 

Categories:
  • WarrenBelz Profile Picture
    156,774 Most Valuable Professional on at

    Hi @Crios29 ,

    If you are using Excel, consider storing it as text, writing as (format depending on your region)

    Text(YourDateValue,"dd/mm/yyyy")

    and reading as 

    Text(DateValue(ThisItem.YourDateField,"dd/mm/yyyy")

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Crios29 :

    Date calculation in Excel is a form of sorting dates into a series, increasing by 1 every day, so that the date can be stored as a serial number that can be used for calculation. By default, the serial number of January 1, 1900 is 1, and the serial number of January 2, 1900 is 2, and the serial number of January 1, 2008 is 39448. This is because it is 39,448 days from January 1, 1900.So, using this principle, you can restore these floating-point numbers to date and time.

    Text(
     DateAdd(
     Date(1900,1,1),
     Int(Thisitem.'Rpt Sent'*24*60),Minutes),
     DateTimeFormat.LongDateTime24)

    Or

    Text(
     DateAdd(
     Date(1900,1,1),
     Int(Value(Thisitem.'Rpt Sent')*24*60),Minutes),
     DateTimeFormat.LongDateTime24)

    Best Regards,

    Bof

  • Crios29 Profile Picture
    6 on at

    Thanks Bof for your explanation, It works perfect!!

     

    Best Regards,

     

    Carlos

     

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 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard