shortdateformat for us-en showing d/M/yyyy RRS feed

  • Question

  • User1542227094 posted


        I have asp.net project developed in VS2003 then converted to VS2005 using Web Application Project Model. every thing seems working perfect but have a problem with date format. to the user i need to show date in M/d/yyyy format. my culture is en-US. but when i check the below code

    Dim culture As CultureInfo = CultureInfo.CreateSpecificCulture(Request.UserLanguages(0))


    the output is d/M/yyyy.

    But other projects that  run on my machine show M/d/yyyy for the same code

    Please suggest what are the possible places where i need to check for the datetimepatterns to be M/d/yyyy







    Friday, November 17, 2006 3:02 AM

All replies