Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Send SMS time error

Posted on by

Hi, we have a Dynamics CRM 2015 application which runs in Denmark. We have a service where we send SMS for booked appointments. We are facing a problem that if the appointment is booked at 8 AM, it sends the message as 7 AM to the user. It was working fine till now. Has it something to do with the daylight savings ? Please help me resolve this issue.

Thanks

*This post is locked for comments

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Send SMS time error

    I'm really sorry but you have to troubleshoot your issue or find a way to get in touch with developer who developed your code.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Send SMS time error

    Was there any fix or update applied on server??

  • MdNazar Profile Picture
    MdNazar on at
    RE: Send SMS time error

    Hi Saad, the issue is for all users.  It was working fine till now. But, suddenly the issue appears for all users.

  • Suggested answer
    tw0sh3ds Profile Picture
    tw0sh3ds 5,600 on at
    RE: Send SMS time error

    Hi,

    It looks like the problem is that there is a difference between user time and server time. You have to remember that if somebody used "ToLocalTime" then time will be always from the machine that the code is running. Knowing that you have to fix your code accordingly. It's hard to help you more - it's a custom solution, it's not even CRM related, rather general programming related.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Send SMS time error

    Is this issue there for all users or for some users? Please check Personal Options in CRM and set it to Denmark timezone.

  • MdNazar Profile Picture
    MdNazar on at
    RE: Send SMS time error

    The problem is it was developed by some other developer which we cannot contact.  After analysing i found that it has something to do with the daylight saving. Many times in code he as used ToLocalTime for different variables.

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Send SMS time error

    Hello,

    It looks like this is non-standard functionality so my suggestion is to get in touch with developer of this functionality and ask why it works the way it works.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans