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

Split date into friendly looking design (SPO Events)

Hi guys

 

I am trying to create a PowerApp Events registration that looks alot like the new modern Events webpart from SPO. My question is, is there any way to split the dateformat from 4/11/2019 2:00 AM to something like the below image. So the date is displayed in a frinedly manner in the box above, and in a more detaild format in the second line.

SPODate.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resolver I
Resolver I

Re: Split date into friendly looking design (SPO Events)

Manged to solve it by using following format, 

 

Text(ThisItem.'Start Time', "[$-en-US]mmm dd")

 

And to split it, I created two labels, FriendlyMonth and FriendlyDate and used Text(ThisItem.'Start Time', "[$-en-US]mmm") and Text(ThisItem.'Start Time', "[$-en-US]dd").

 

 

View solution in original post

1 REPLY 1
Highlighted
Resolver I
Resolver I

Re: Split date into friendly looking design (SPO Events)

Manged to solve it by using following format, 

 

Text(ThisItem.'Start Time', "[$-en-US]mmm dd")

 

And to split it, I created two labels, FriendlyMonth and FriendlyDate and used Text(ThisItem.'Start Time', "[$-en-US]mmm") and Text(ThisItem.'Start Time', "[$-en-US]dd").

 

 

View solution in original post

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,044)