web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / how to show only Time ...
Power Apps
Answered

how to show only Time in Powerapps from Date and Time format in sharepoint

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Is it possible to show only Time in Powerapps from SharePoint database that the data is stored in date and time format?

Thank you very much

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    If is in a Textbox:(

    Text(Textbox1,"hh:mm:ss")

     

    In a Gallery label:

    Text(ThisItem.Column,"hh:mm:ss")

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • mdevaney Profile Picture
    29,991 Moderator on at

    @Anonymous 

    Yes, you can format date & time values using the TEXT function

     

    Text(ThisItem.DateColumn, ShortTime24)

    or

     

    Text(ThisItem.DateColumn, ShortTime)

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Do you want to only show Time value from the Date Time type field in your SP list?

     

    Based on the needs that you mentioned, I think the Text function could achieve your needs. I have made a test on my side, please try the following formula:

    1.JPG

    Set the Text property of a Label to following:

     

    Text(Now(), "HH:mm AM/PM")

     

     

    If you list your SP List records in a Gallery, and you want to display the Time value from the Date time field in this Gallery, add a Label in this Gallery, set the Text property to following:

     

    Text(ThisItem.DateTimeField, "HH:mm AM/PM")

     

     

    More details about Text function, please check the following article:

    Text function

     

    Best regards,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 342 Most Valuable Professional

#2
11manish Profile Picture

11manish 234

#3
Valantis Profile Picture

Valantis 187

Last 30 days Overall leaderboard