web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dealing with SQL Time ...
Power Apps
Unanswered

Dealing with SQL Time data - new way yet?

(0) ShareShare
ReportReport
Posted on by 718
My apps that I built in 2018-2019 rely upon an Azure SQL DB. I track the time of events in that DB but then want to display / sort based on normal way to view time. Way back then I found More Regular Expressions for Canvas apps - Microsoft Power Platform Blog that said a better way is coming. Was there ever "a better way"? This is how the time is stored in the DB.
First(ForAll(MatchAll(Text(ThisItem.MorningSigninTime),"PT(?:(?<hours>\d+)H)?(?:(?<minutes>\d+)M)?(?:(?<seconds>\d+)S)?"),Time(Value(hours),Value(minutes),Value(seconds)))).Value
That is a sample of the code. If I attempt to sort by it then it isn't delegatable.
Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 468

#2
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 332 Super User 2025 Season 2

Last 30 days Overall leaderboard