cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Shazna
Frequent Visitor

Different date displays

Hi,

In my canvas app, the date display formats are different when opened on mobile phones and on laptops. Any ideas why I see this difference?

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @Shazna ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

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.

View solution in original post

13 REPLIES 13
WarrenBelz
Super User
Super User

Hi @Shazna ,

Change the date format to what you want 

Text(YourDate,"mm/dd/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.

 

Hi @WarrenBelz ,

Thank you for your reply. The format is the same, and I have used "dd/mm/yyyy" under the Format property. The difference in the Mobile app specifically,  shows the month name in letters than numbers.

 

@Shazna ,

Is that a Data Table or a Gallery you have there?

@WarrenBelz ,

 

It's a data table.

@Shazna ,

That makes it a bit more difficult - you need to use AddColumns() to with 

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

and display that.

If you don't know how to do that, What are the Items of the Data Table and the names of your date fields.

 

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.

 

@WarrenBelz ,

The items of the Data Table are 

Shazna_0-1629926621888.png

 and the Field names are 

Shazna_1-1629926748397.png

 

@Shazna ,

I need the actual Items code - also please post the field name for the dates in Text.

@WarrenBelz ,

Items code for the Data Table Choices([@SpotTeamMembers].FullName)

and the Text property name ThisItem.ToDate & "dd/mm/yyyy"

@Shazna ,

That cannot be the Items of the Data Table it will be a table of some sort.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,212)