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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

diffinhours not showing in decimal values

(0) ShareShare
ReportReport
Posted on by 10

Hi ,

I want to get decimal values of hours between two datetime fields but diffinhours is returning only whole 

eg 10.10 which is shown as 10 between two datetime fields.

10.40 shown as 11 between two datetime fields.

Thanks.

I have the same question (0)
  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at

    Hi EKL,

    How about taking the difference in minutes and then converting it to hours using a formula? A number of hours = Number of minutes divided by 60.

  • Suggested answer
    EKL Profile Picture
    10 on at

    Hello Abdul,

    Thank you.

    In that case we need a another field and is it a standard way of implementing??

  • Verified answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at

    Hi EKL,

    If we are talking about calculated columns. I may say Yes but again this is my thought. Otherwise, you can go for Power Automate. 

  • Suggested answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at

    Hi EKL,

    I have got one more solution for you. I hope you like it most.

    Here is the screenshot of of the implemented solution

    pastedimage1679464892685v1.png

    I created below columns to solve this problem:

    1. pastedimage1679464998146v2.png
    2. pastedimage1679465047931v3.png
    3. pastedimage1679465146004v4.png
      1. pastedimage1679465164631v6.png

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans