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

Customize Greeting inside an App

Hello,

 

I just want to ask if there is a way to customize greetings in an app depending on the time of the day. Like before 12PM if anyone accesses the app it says "Good Morning [User]" and so on depending on the time. Any predefined formula available? Will really appreciate your help.

 

Regards,

Arslan

1 ACCEPTED SOLUTION

Accepted Solutions
Meneghino
Level 10

Re: Customize Greeting inside an App

Hi @Anonymous

You can use the Now() function to get the current time and the Hour function to extract the hour.

Hence something like this in the text property of a text box:

If(Hour(Now())<12, "Good morning, ", Hour(Now())<17, "Good afternoon, ", "Good evening, ")&User().FullName

View solution in original post

2 REPLIES 2
Meneghino
Level 10

Re: Customize Greeting inside an App

Hi @Anonymous

You can use the Now() function to get the current time and the Hour function to extract the hour.

Hence something like this in the text property of a text box:

If(Hour(Now())<12, "Good morning, ", Hour(Now())<17, "Good afternoon, ", "Good evening, ")&User().FullName

View solution in original post

ANdreVT
Level: Powered On

Re: Customize Greeting inside an App

Hello 

I am trying to use this formula

If(Hour(Now())<12, "Good morning, ", Hour(Now())<17, "Good afternoon, ", "Good evening, ")&User().FullName

But it is not showing the message

IS there something that I need to set up?

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 71 members 2,971 guests
Please welcome our newest community members: