Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Data Export Service=> Time Zone

Posted on by 390

Hello, 

I have CRM online with Data Export Service. When I do sql queries I see that the hours are not correct, how can I format the hours to their correct time zone in SQLServer? Some dates have one hour less and another two hours less.

Thank you,

Best regards,

*This post is locked for comments

  • Suggested answer
    PranavShroti Profile Picture
    PranavShroti 4,510 on at
    RE: Data Export Service=> Time Zone

    I believe you need to pull the UTC times from the CRM databases (Entity). CRM stores these in UTC format in database and then user pulls records, CRM business layer takes care of the conversion as per the selected timezone. Since you dont have CRM business layer in between now... you may have to do the conversion yourself.

    Some more details here:

    docs.microsoft.com/.../behavior-format-date-time-field

    Hope this helps,

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans