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 4

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.

  • Suggested answer
    Abdul Wahab Profile Picture
    12,085 Moderator on at
    RE: diffinhours not showing in decimal values

    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
  • Verified answer
    Abdul Wahab Profile Picture
    12,085 Moderator on at
    RE: diffinhours not showing in decimal values

    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
    EKL Profile Picture
    4 on at
    RE: diffinhours not showing in decimal values

    Hello Abdul,

    Thank you.

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

  • Suggested answer
    Abdul Wahab Profile Picture
    12,085 Moderator on at
    RE: diffinhours not showing in decimal values

    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.

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Holly Huffman Profile Picture

Holly Huffman 103

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 96 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 51 Most Valuable Professional

Product updates

Dynamics 365 release plans