We recommend using Visual Studio 2017

Context.ClientCultureInfo Property

Gets the culture for the current client.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

public static CultureInfo ClientCultureInfo { get; }

Property Value

Type: CultureInfo
The CultureInfo for the current client.

In the following example, ClientCultureInfo is passed into ToString to parse a date in the correct format:

((DateTime)_dblRangeHigh).ToString(Context.ClientCultureInfo);
Show: