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 / Help with dates format...
Power Apps
Answered

Help with dates formatting

(0) ShareShare
ReportReport
Posted on by 33

Hello PowerApps community,

 

I am having some problems getting my dates to display / submit correctly using a Datepicker linked to OneDrive.
Searched multiple previous posts & to my limited knowledge, I figured that I couldn't find the right solution.

My PowerApp:

Annotation 01.png

Fig. 1

 

if(
 IsBlank(ThisItem.SRP_IN),
 "Inducted on: No records",
 "Inducted on: " & Text(
 ThisItem.SRP_IN,
 "[$-en]dd mmmm yyyy"
 )
)

 

Table 1.

As the formula implies, my date should have shown as "Inducted on 01 April 2020 and Expires on 31 March 2022". Instead it shows as shown in Figure 1. Please refer to the formula at Table 1.

This format happens when I logged into PowerApp site, clicked more command (the three dots) and play as seen in Figure 1.

However when I logged into PowerApp site and clicked edit and preview app (F5) , the outcome is to be as expected as seen in Figure 2 (Data is taken here in OneDrive). This confuses me as I think the code is correct.

The weird thing is, not all are displayed incorrectly as shown in Figure 4 taking data from Figure 5.

Annotation 03.png

Fig. 2

My excel in OneDrive:

Annotation 02.png

Fig. 3

Annotation 04.png

Fig. 4

Annotation 05.png

Fig. 5

In summary, date format will show up incorrectly as Figure1 when I logged into PowerApp site, clicked more command (the three dots) and play - Method 1.

Date format is correct as Figure 2 when I logged into PowerApp site and clicked edit and preview app (F5) - Method 2.

Not all are displayed incorrectly during method 1 as seen in Figure 4.

What is going on?

 

Any help would be greatly appreciated!.

Best regard,

Khai

Categories:
I have the same question (0)
  • Verified answer
    rb Profile Picture
    835 Super User 2024 Season 1 on at

    Sorry if this is too obvious, but have you Published your app recently? That's the most obvious reason I can think of seeing two different things between Edit and Play.

  • Khairudin Profile Picture
    33 on at

    This is not obvious at all. I'll be sure to remember to publish in the future, thanks alot!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 462

#2
WarrenBelz Profile Picture

WarrenBelz 425 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 291

Last 30 days Overall leaderboard