Last post May 21, 2012 01:05 PM by asifiqbal9845
May 21, 2012 12:38 PM|asifiqbal9845|LINK
I have created a Webapplication, in English which supports for Spanish and Italian language also. Once when i host it in English environment it works fine for all the type of browser Language settings (English, Spanish and Italian). But when I host it in
Spanish environment and my Browser Language setting is Italian, the Dateformat will cause a problem. As I am usign Excel sheet for generating a reports and I want to print a date inthe following format (dd-MMM-yyyy). If I change the dateformat to (dd-MM-yyyy)
than it works. But I want to print the date in (dd-MMM-yyyy). So how I do that.
May 21, 2012 12:54 PM|Mudasir.Khan|LINK
are you setting System.Threading.Thread.CurrentThread.CurrentCulture and System.Threading.Thread.CurrentThread.CurrentUICulture properly ?
May 21, 2012 01:05 PM|asifiqbal9845|LINK
I am just setting
Page.UICulture = "en-US"
Page.Culture = "en-US".
But this culture I will place after displaying the date into the Excel