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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

ADDDAYS does not work properly

(0) ShareShare
ReportReport
Posted on by

We have CRM 365 online (UCI) dynamics in North America 2 and I have noticed an error using the ADDDAYS (whole number, date and time) brought to our attention by out business only recently. We have a field called esu_mostrecentreferral, we add 45 days to this field and we get a new date in our 45 days field, however if you set this field (esu_mostrecentreferral) to 9/24/2021 the 45 days calculation is 1 day off, this happens until (arbitrary date of 11/8/2021 where the 45 days calculation works again, this is a date only field and there are no processes running in the background on this field, there are no scripts or anything else on this field, yet the calculation seems to be off. I've tried re-creating this field in another application and in new environments, and it is giving the same error, has anyone seen this and can also replicate it? and is there a way to resolve it besides putting in an incident with Microsoft?

Screen shots below of the date 9/23/2021 and 9/24/2021 returning the same date which should not happen.

AddDaysnotworking.png

I have the same question (0)
  • DOHCRMAdmin Profile Picture
    on at

    I Figured it out, I had to change the Behavior of the field to Time-zone independent to get it to reflect the correct date.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi DOHCRMAdmin,

    Thanks for sharing your solution. Your answer would benefit to community. Thanks a lot.

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans