Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

ADDDAYS does not work properly

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

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: ADDDAYS does not work properly

    Hi DOHCRMAdmin,

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

  • DOHCRMAdmin Profile Picture
    DOHCRMAdmin on at
    RE: ADDDAYS does not work properly

    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.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,564 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,651 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans