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

Community site session details

Session Id :
Power Apps
Unanswered

Need help Please

(0) ShareShare
ReportReport
Posted on by 18
Hi
 
I have a column  "Last Updated on" in my Sql Server Database, as Date Time.  I am trying to update it on my Power App, which is working well for the other fields ( Text, Number, ...).
When I add the "Last Updated On" in my application. it displays as below, in 3 segments:
 
How can I get it to only One data field with the Date and Time concatenated using the Now() function. Thanks to advise me. I have been stuck on this for some time despite looking for videos. 
Categories:
I have the same question (0)
  • Meekou Profile Picture
    200 Moderator on at
    Need help Please
    For build date time based on multiple input, you could try DateTime function to combine them.
    Here is a demo
    DateTime(
        Year(datePicker.SelectedDate),
        Month(datePicker.SelectedDate),
        Day(datePicker.SelectedDate),
        hourpicker.Selected.Value,
        minutePicker.Selected.Value,
        0
    )
    Regards,
    Meekou
    Personal Support
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    Need help Please
    If you are not entering a datetime you could use a label to show Now()
  • Verified answer
    timl Profile Picture
    36,319 Super User 2025 Season 2 on at
    Need help Please
    Hi JC-04111302-0
     
    From what I understand, you want to replace the datepicker, hour dropdown, and minute dropdown with a single text input control that defaults to the current date and time. 
     
    To do this, you would delete these 3 controls and insert a text input control within the existing data card (let's call the new control txtLastUpdatedOn). You would set the Default property of this to Now().
     
    You would then change the Update property of the data card that contains txtLastUpdatedOn to the following:
     
    DateTimeValue(txtLastUpdatedOn.Text)
     

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 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard