cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
emoii 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
emoii 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
emoii 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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (513)