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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 541
WarrenBelz 434 Most Valuable Professional
Valantis 289