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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to inject time val...
Power Apps
Unanswered

How to inject time value separately in datetime value?

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I require to update the date time value while submitting the date with specific time in the SharePoint list, for which I use the following formula Where "Label8" == "10:30 AM"

 

Label2.Text = Text( DateTimeValue( dTableDates.Selected.Date ), "[$-en-US]mm/dd/yyyy" & Label8.Text )

 

However, Label2.Text shows blank value in above case, however if I remove "& Label8.Text" in above formula, it shows correct Date value without time.

 

I have also tried to append time value "& TimeValue( "10:30:00 AM" )" as follows

 

Label2.Text = Text( DateTimeValue( dTableMeetingSlots.Selected.Date ), "[$-en-US]mm/dd/yyyy" & TimeValue( "10:30:00 AM" ) )

 

However still Label2.Text shows blank value - Can you please share, how can I show value "4/20/2021 10:30 AM" in Label2.Text ?

 

 

Thanks,

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @dave8 :

    Please try this formula:

     

    Text(DateTimeValue( dTableDates.Selected.Date ), "[$-en-US]mm/dd/yyyy") &
    " " &
    Label8.Text 

     

    Best Regards,

    Bof

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard