cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
seadude
Memorable Member
Memorable Member

Azure SQL Time DataType in PowerApps

When I add a Date column to a Sharepoint list, select "show time", then connect it to a PowerApp, it displays in a single card in a  nice neat format: 

time.png

Is there an equivalent Date and Time data type in Azure SQL that will render the same in PowerApps or would this have to be built manually?


Thanks

 

3 REPLIES 3
Meneghino
Community Champion
Community Champion

Hi @seadude

The obvious choice of data type in Azure SQL Database is datetime2 or datetimeoffset depending on whether you need time zone information.

I don't use forms so I cannot tell you if it will automatically populate the form with the controls you show, but it should be easy to reproduce.

Please let me know how you get on.

I have not tried "Build app from data" yet with Azure to know how it handles forms either. I'll choose one of the data types you mentioned and let you know how it works.

Meneghino
Community Champion
Community Champion

Hi again @seadude, I am allergic to forms and building apps form data.  You never know what hidden logic there may be, and they are difficult to customise beyond very basic changes.  I always recommend building canvas apps from blank and from the single controls.  But this is my personal opinion.

Do write to me directly or look here for more on PowerApps and Azure SQL Datatabase:

https://baizini-it.com/blog/

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,906)