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 Pages / PowerApps DateTime inp...
Power Pages
Answered

PowerApps DateTime input not displaying correctly in SharePoint List

(0) ShareShare
ReportReport
Posted on by 11

PowerApps Date Picker format is current set to the following:

 

Text( Now(), DateTimeFormat.ShortDateTime )

 

However when records are being saved from PowerApps, Time is being displayed as 12:00 AM on SharePoint List.

 

powerapps datecard.PNGSP Date display.PNG

Categories:
I have the same question (0)
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @cekberg ,

    Could you tell me how do you update this field by using datepicker?

    Actually, the datepicker will not record time value, it only record date value.

    For example, if you use Datepicker1.SelectedDate, it will not represent the date that you selected.

    So If you use this to update, the time value is empty, then it will be filled will the default value "12AM".

    I suggest you use a datepicker to record date and two drop downs to record time.

    I've made a similar test for your reference:

    1)set the date picker's DefaultDateToday()

    set the drop down1's Default:Hour(Now())

    set the drop down2's Default:Minute(Now())

    1241.PNG

     

    2)if the date type is datetime, use this formula to update:

    Patch(listname,Defaults(listname){fiedname: detepicker1.SelectedDate+Time(dropdown1.Selected.Value,dropdown2.Selected.Value,0)})

    if the data type is text, use this formula to update:

    Text(DatePicker1.SelectedDate+Time(Dropdown1.Selected.Value,Dropdown2.Selected.Value,0),DateTimeFormat.ShortDateTime)

     

     

     

    Best regards,

  • Verified answer
    cekberg Profile Picture
    11 on at

    Thanks for the suggestion Phoebe! I found another workaround for the issue.

     

    I created a hidden text card (DateTimeDisplay) that displays:

    Text( Now(), "[$-en-US]mm/dd/yyyy hh:mm:ss AM/PM" )

    PowerAppDateTime.PNGDateProperties.PNG

     

    And modified the Update to the visible Date field to include time:

    DateTimeValue(DateTimeDisplay.Text)

     

    SharePointDateTime.PNG

     

    This properly transmits the output to SharePoint.

    Appreciate the help and feedback!

  • cekberg Profile Picture
    11 on at

    Hi @v-yutliu-msft  ,

    After putting this solution in place, I've found that the hidden text card that displays DateTimeValue is only pushing a static value when the page is initially loaded.  If a user submits multiple entries from the app, all records have the exact same timestamp.  Any suggestion on how I can refresh the DateTimeValue to push the dynamic Now() time value?

     

    Capture.PNG

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
11manish Profile Picture

11manish 42

#2
Valantis Profile Picture

Valantis 24

#3
omkarsupreme Profile Picture

omkarsupreme 23

Last 30 days Overall leaderboard