This hotfix also applies to Microsoft SQL Server 2014 Analysis Services (SSAS 2014).
Symptoms
Assume that you have Microsoft SQL Server 2012 Analysis Services (SSAS 2012) or SQL Server 2014 Analysis Services (SSAS 2014)installed on a computer that is non-US locale and the locale of SQL Server 2012 or SSAS 2014 is US locale. When you run DateAdd or Day function, the returned value of the function is US-locale format instead of the format that you defined.
For example, the locale of operation system on the computer is UK locale (DMY) and the locale of SQL Server 2012 or SSAS 2014 is US locale (MDY). If you run DateAdd function by using DateAdd("d", 0, "12/01/1959 00:00:00"), in UK setting the parameter must be treat as dd/mm/yy. The incorrect result is 01 December 1959" instead of the correct result "12 January 1959". And if you run Day function by using Day("12/01/1959 00:00:00"), in UK setting the parameter must be treat as dd/mm/yy. The incorrect result is day "01" instead of the correct result day "12".Resolution
The issue was first fixed in the following cumulative update of SQL Server.
Cumulative Update 1 for SQL Server 2014 /en-us/help/2931693
Cumulative Update 7 for SQL Server 2012 SP1 /en-us/help/2894115
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.