Display “Good Morning” or “Good Evening” tag on header

Loading

Requirement: How to display “Good Morning” or “Good Evening” tag on header in Power Apps with User Name

1.Select a ‘Text Label’ from the Insert options in power Apps screen

2.Provide the ‘If’ condition that carries ‘Hour’ , ‘Now’ function

If(Hour(Now())<12, "Good Morning,
", Hour(Now())<17, "Good AfterNoon,
", "Good Evening,
")& User().FullName

Leave a Reply

Your email address will not be published. Required fields are marked *