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 Automate / Can't Convert Time (as...
Power Automate
Answered

Can't Convert Time (as fraction of 24hrs) to 11:00am Format

(0) ShareShare
ReportReport
Posted on by
"Hello All,
 
I am trying to pull a time that from my Excel spreadsheet, but it keeps coming out as a decimal(Eg: "0.458333333333333" for 11am). What I'm trying to do is the send this time in an email so that other people could see at what time their class starts. The problem I am facing now, is that no expression that I have been able to build with the help of Copilot has worked in formatting the time to something like 11am. I tried creating an expression that converts the value into a Float and multiplies it by 24 to at least get close to the Integer value of the time. However, when I try to convert this to an Integer, Power Automate throws an error saying that the type I am trying to convert is not able to be converted. It seems like there is an issue with converting from Float to Integer, but I don't know how to get around it.
 
Please, if there is anyone that can help me figure this out, you would help me so much!

Here are some expressions that I have tried attached.
 
 
 

Thanks
Categories:
I have the same question (0)
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,362 Super User 2025 Season 2 on at

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard