Notifications
Announcements
Hello,Simple problem, can't find a solutionI have a text-input in the format of "text" and looks as such:And I need to patch it to my SQL database that has the format "date" as such:How can I convert the text input in that format to date the same as the sql format.thanks for any help
Hi @Connor_Taylor,
Try to use:
Text(DateTimeValue(TextInput1.Text), "yyyy-mm-dd")
TextInput1 is the textinput control name.
Regards,
Mona
Thank you @v-monli-msft
Hi @v-monli-msft
@v-monli-msft wrote:Hi @Connor_Taylor, Try to use:Text(DateTimeValue(TextInput1.Text), "yyyy-mm-dd")TextInput1 is the textinput control name.
I'm trying to implement your formula in a made up label, but i get this anomaly:
Also:
I'm hoping to get the 22/02/28 or 22-02-28
What went wrong?Thanks,
pytbyt
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268