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,...
Suggested Answer

DiffInDays value showing as hours instead of days

(0) ShareShare
ReportReport
Posted on by 547
 
 
I am attempting to calculate the difference between two dates.  The formula is correct as far as I can tell and I don't receive any errors.  However, the field value displays in hours instead of days. 
 

           
 
   
I tried to change it to weeks to see if that tricks the system to display days but it says minutes (even worse).  The number appears to be accurate (with the exception of hours but it I multiple that by 60??) but the label is wrong.   If I change it to a decimal number I get the correct results however, that doesn't make sense.   
 
I would really like to be able to use the appropriate function and have it working properly.  
 
Any help will be greatly appreciated!
I have the same question (0)
  • Suggested answer
    jdalske Profile Picture
    547 on at
    So it appears that if I use the data type text or decimal number, I get the correct results.  I do not understand why the data type whole number displays a decimal and a label of hours or minutes when the formula I used is DiffInDays.
     
    In summation, use the data type text with this calculated field.
     

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