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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 196 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
Zhilan Profile Picture

Zhilan 73

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans