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 :
Small and medium business | Business Central, N...
Suggested Answer

CRM Table -> Date field value differs from D365 Sales UI

(0) ShareShare
ReportReport
Posted on by 49

Hello,

we are using D365 for Sales in combination with Business Central Online through native Dataverse/D365 for Sales Integration. In our AL-Extension, we are using the "CRM Contact" table (TableType = CRM) to read contacts from D365 in BC. When reading the "BirthDate"-field (Date), we sometimes experience a mismatch between the "real value", and the one we are getting in AL. In D365, the flied is of type DateTime. In BC, the field is of type Date. One example: In D365 UI, the birthdate is shown as 12.12.2003, the database/UTC value is 2003-12-12T20:37:03Z. However, in AL (BC) when reading the field we are getting 13.12.03.

My first guess was that it must have something to do with time zones. In BC, my user's time zone is (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna. In D365 the time zone of the integration user ("Business Central Integration Business Central to Common Data Service") was (GMT) Coordinated Universal Time. I changed the time zone in D365 to (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna. The change had no effect, AL still shows a different Date.

Does anyone have any ideas? Maybe the different datatypes (DateTime vs Date) is the problem?

Best regards,

Dima.

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,647 Super User 2025 Season 2 on at

    Hi, Maybe it has something to do with the information below.

    More details: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/webservices/managing-time-zones-with-web-services

    pastedimage1660606729533v3.png

    Hope this helps.

    Thanks.

    ZHU

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,577

#2
YUN ZHU Profile Picture

YUN ZHU 888 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 778 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans