Skip to main content

Notifications

Community site session details

Community site session details

Session Id : LBmyHRFzpFU4xxMQnE6B1Q
Power Apps - Building Power Apps
Answered

Changing text based on time E.G "Good morning before 12pm"

Like (0) ShareShare
ReportReport
Posted on 27 Oct 2022 13:15:18 by 7

So I am fairly new to power apps and trying to play around with its features. I'm currently trying to build an interactive quiz. On my first page, I want there to be a greeting. This greeting will display "Good Morning" or "Good Afternoon" depending on its time. E.G. Before 12pm Morning after 12pm Afternoon. I have tried adding a clock and using the visible property to hide this time but I cant seem to get the text to show. 

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on 27 Oct 2022 at 13:55:03
    Re: Changing text based on time E.G "Good morning before 12pm"

    Your Welcome

  • BenLamb95 Profile Picture
    7 on 27 Oct 2022 at 13:48:51
    Re: Changing text based on time E.G "Good morning before 12pm"

    Many thanks

  • Verified answer
    zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on 27 Oct 2022 at 13:33:04
    Re: Changing text based on time E.G "Good morning before 12pm"

    Hour(Now())

    the above code will give you current hour in 24 hours format., You can make comparison and implement appropriate greetings.

    a18.jpg

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
mmbr1606 Profile Picture

mmbr1606 39 Super User 2025 Season 1

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 32

#3
DBO_DV Profile Picture

DBO_DV 31 Super User 2025 Season 1

Overall leaderboard