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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (4,505)