Date format different from US English

  • Okay, I am no ASP expert either, but think about this case, in most languages you have some fancy way of formatting your strings. Also the OS at all points formats the string differently (look in regional setting for example).

    For me I have the default italian setting dd/MM/yyyy. My spanish is abit rusty but I would guess that the four 'a' in the date DISPLAYed stands for Año (year in spanish). That leads me to the conclusion that maybe there might be some implicit attempt to format the string with a Spanish/Brazilian(?) (Sorry for my small confusion here due to my lack of understanding of the relationship between the brazilian and the spanish language, if any 😉 LanguageFormat string in some context (english?) that does not know how to interpret the 'a'. It seems to know how to handle 'dd' and 'mm' correctly but interprets 'a' as a custom character (in the same way as the '/' that also exists in the DISPLAYed result)

    I do not know how to resolve this at this point. Hopefully someone else understands my reasoning and (if true) could follow it to a conclusion.

    Regards, Hanslindgren

    P.S Is it possible to configure the ASP interpreter differently from the regional settings in the OS?

  • quote:


    Is it possible to configure the ASP interpreter differently from the regional settings in the OS?


    no ASP expert either but I know some ASP. I think you can use Session.lcid to set language settings for a page, but I don't know what to set it to.

    --

    Chris Hedgate @ Apptus Technologies (http://www.apptus.se)

    http://www.sql.nu

Viewing 2 posts - 16 through 16 (of 16 total)

You must be logged in to reply to this topic. Login to reply