HBM.Global.Application_BeginRequest C# (CSharp) Method

Application_BeginRequest() protected method

protected Application_BeginRequest ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        protected void Application_BeginRequest(object sender, EventArgs e)
        {
            CultureInfo newCulture = (CultureInfo)System.Threading.Thread.CurrentThread.CurrentCulture.Clone();
            newCulture.DateTimeFormat.ShortDatePattern = "dd-MMM-yy";
            newCulture.DateTimeFormat.DateSeparator = "-";
            Thread.CurrentThread.CurrentCulture = newCulture;
        }