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 / DateTimeValue in text ...
Power Apps
Answered

DateTimeValue in text input

(0) ShareShare
ReportReport
Posted on by

Is it possible to have DateTimeValue format (mm/dd/yyyy hh:mm:ss.fff AM/PM) in text input and save it as text in SharePoint list? I'm working on forms and would like to make this work.

Categories:
I have the same question (0)
  • biancadevera Profile Picture
    on at

    @RandyHayes @WarrenBelz @StalinPonnusamy please help

  • WarrenBelz Profile Picture
    156,100 Most Valuable Professional on at

    Hi @biancadevera ,

    This gets the current time format (and will save as Text in SharePoint)- is that what you are asking

    WarrenBelz_0-1635812452673.png

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • biancadevera Profile Picture
    on at

    Hi @WarrenBelz , I want to use the Text Input not the label. Is this possible?

     

    biancadevera_0-1635814742538.png

     

  • Verified answer
    WarrenBelz Profile Picture
    156,100 Most Valuable Professional on at

    Hi @biancadevera ,

    This turns the Text Box to Date/Time, but I tested the various formats (LongDateTime etc) and they will not convert further

    WarrenBelz_0-1635816121366.png

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

  • biancadevera Profile Picture
    on at

    Hi @WarrenBelz 

    Is it possible to input it on Text box in Forms then stored the text in label (hidden) to save to SharePoint list?

  • WarrenBelz Profile Picture
    156,100 Most Valuable Professional on at

    HI @biancadevera ,

    I am getting a little lost with what exactly you are trying to do here - the data is Text to start with and you want Text in SharePoint - also are you referring to MS Forms or the Power App Form?

  • biancadevera Profile Picture
    on at

    Hi @WarrenBelz 

    Since Text box won't accept the datetime format I was trying to do, I'm thinking of this: Enter the date and time (example: Nov 3, 2021 1:15:56 AM) > store it on label where it will convert to mm/dd/yyyy hh:mm:ss.fff AM/PM (11/03/2021 1:15:56 AM) > Save on SharePoint list based on the data of label. 

     

    I was referring to Power App form. Sorry for the confusion

  • WarrenBelz Profile Picture
    156,100 Most Valuable Professional on at

    Hi @biancadevera ,

    My previous post showed the extent that you can format a label using the DateValue function. You can either save this back as Text or simply save the text input itself and get the full format.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • biancadevera Profile Picture
    on at

    Hi @WarrenBelz 

    Thank you for your input. I was able to achieve what I want to do here. 

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

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard