After finally getting around to using the new timer control in Dynamics CRM 2015 (although introduced in 2013), it is clear that this is a simple, yet very powerful, graphical way of seeing how much time is left on an open case for example, before it breaches SLA agreements.
We did however run into one small problem with it.
In our setup we had Dynamics CRM 2015 on premise RTM (version 22.214.171.12443), with a timer control on a custom entity’s form. The control is set to countdown to a defined point in the future by which the status reason of the custom entity must have advanced before, otherwise the SLA will be breached. Given that we are a UK based company, my personal format settings and system format settings in CRM are all set to UK format (i.e. dd/MM/yyyy), yet we were seeing strange behaviour with the timer.
The date was the 11th of February, which in the UK is represented as 11/02/2015, and the timer was due to run out at a given time later in the day. However we saw that the timer was telling us that the remaining duration was 264 days in the future.
Out of curiosity I changed the date to the US format (02/11/2015) and voila, the timer was displaying the correct value.
My first thoughts were to re-check the system settings against my own settings, but both were set to UK, so no issues there. I checked the regional settings and language settings on my own machine. Both UK. What is going on here?
After a lot of head-scratching and searching the internet for similar issues, I came across the following very useful blog post.
Long story short, the work around for this issue, is to set the language settings for the Active Directory account associated with the CRM Application Service to English(US). Sorted!