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 Apps
Answered

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:
  • Meekou Profile Picture
    200 Moderator on at
    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,914 Moderator on at
    If you are not entering a datetime you could use a label to show Now()
  • Verified answer
    timl Profile Picture
    37,424 Super User 2026 Season 2 on at
    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard