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 / PowerApps Date and SQL
Power Apps
Answered

PowerApps Date and SQL

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I've created a Powerapp for data entry which contains a date field using Today(). The App writes back to a table in a SQL database via a power automate flow.

 

When I run the app in a browser the date is displayed as MM/DD/YYYY and the App writes back to SQL. However when I run the App on a mobile device the date is displayed as DD/MM/YYYY and the App does not write back to SQL.

 

The error on my Flow is:

 

Conversion failed when converting date and/or time from character string.
clientRequestId: add48fa2-e6cd-49ff-8d42-7290f9dbeab2

 

I'm not sure why the mobile version displays the date differently but it appears to be problem.

 

How can I fix it?

 

Thanks

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    What I've tried and found out.

     

    My browser was set to English(US) and the app worked. I changed my browser to English and the app worked; all from within the browser.

     

    I changed the Region on my iOS device from UK to US and the app worked.

     

    My server is in the UK.

     

    Whilst I can get it to work it's not reasonable to ask employees to change the region on their devices.

     

    Any help would be gratefully appreciated. Thanks

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I found a better solution that putting the date in the Powerapp. In the SQL table I've added a column that automatically populates the date when a row is added

     

    CreatedDate date DEFAULT GETDATE()

     

    This way I can remove the date from the powerapp and it works across desktop and mobile devices.

  • v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Glad to see you found the Solution.

    Maybe you could consider marking your answer as a 'Solution' so that it will be useful for others and close the case.

    Cheers!

     

     

    Best Regards,

    Charlie Choi

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard