cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How to change date format ?

Hello,

 

How do I change the date format display in my gallery (from a datetime column in SharePoint) from a US format (mm-dd-yyyy) to an European format (dd-mm-yyyy) ?

 

I tried tu use DateTimeValue function but it seems to only works with variable that are in text format.

 

Here is the formula I have when I click on the datetime item of my gallery :

ThisItem.DateEdition (DateEdition is the name of the column)

, I tried to use DateTimeValue on it as DateTimeValue(ThisItem.DateEdition, "fr") but got an error.

 

Thanks for helping,

1 ACCEPTED SOLUTION

Accepted Solutions
eka24
Super User III
Super User III

 Try:

Text(ThisItem.DateEdition,

"dd-mm-yyyy")

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

2 REPLIES 2
eka24
Super User III
Super User III

 Try:

Text(ThisItem.DateEdition,

"dd-mm-yyyy")

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

Anonymous
Not applicable

That's it ! 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (18,590)