cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KevinHardy
Resolver I
Resolver I

Date format problem

Hi, at present I have:

"Date: "&If(IsBlank(ViewRecords_gallery.Selected.'Todays Date'), "-", ViewRecords_gallery.Selected.'Todays Date')

 

Which is fine buts displays in US format. How do I incorporate "[$-en-US]dddd dd mmmm yyyy" into the formula?

I've tried several different ways but don't really understand what I'm doing 🙂

1 ACCEPTED SOLUTION

Accepted Solutions
mdevaney
Super User III
Super User III

Probably like this...

"Date: "&If(IsBlank(ViewRecords_gallery.Selected.'Todays Date'), "-", Text(ViewRecords_gallery.Selected.'Todays Date', "[$-en-US]dddd dd mmmm yyyy"))

—-
Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.

View solution in original post

5 REPLIES 5
mdevaney
Super User III
Super User III

Probably like this...

"Date: "&If(IsBlank(ViewRecords_gallery.Selected.'Todays Date'), "-", Text(ViewRecords_gallery.Selected.'Todays Date', "[$-en-US]dddd dd mmmm yyyy"))

—-
Please Accept as Solution if this post answered your question so others may find it more quickly. If you found this post helpful consider giving it a Thumbs Up.

View solution in original post

I got the dreaded white cross in red circle 😞

The explanation is attached as a screenshot. Any ideas?

 

@KevinHardy
Some garbage text was included because I am posting from mobile. Can you please try my code above again? I removed the extra characters.

Lovely. Thank you. I did wonder what the extra bit was 🙂

@KevinHardy 

Yeah, I frequently browse the forums on my mobile and whenever I go back to edit my post for grammar it adds many weird symbols that I have to delete.

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

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (10,639)