Session.LCID does not work

Discussion in 'ASP General' started by Claudio Cezar, Oct 14, 2003.

  1. I live in Brazil and i am trying to set my application to
    work with american date format.

    The problem is, even when i set the LCID property at the
    beginning of my code, it always returns the date in
    brazilian date format. Example:

    <% @Language=VBSCript %>
    <% Session.LCID=1033 %>
    <% Response.write (now & "<BR>" & Session.LCID) %>

    This code should return:
    MM/DD/YYYY HH:MM AM or PM
    1033

    But it´s returning:
    DD/MM/YYYY HH:MM
    1033

    Do you see? The LCID is correct but it keeps showing the
    date in brazilian format? What the hell is happenning? Can
    any one help me?
    Claudio Cezar, Oct 14, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ubi_comp
    Replies:
    0
    Views:
    2,235
    ubi_comp
    Feb 3, 2006
  2. b_boy

    Session.LCID problem

    b_boy, Oct 16, 2003, in forum: ASP General
    Replies:
    5
    Views:
    138
    b_boy
    Oct 17, 2003
  3. grw

    Session.Lcid

    grw, Oct 21, 2003, in forum: ASP General
    Replies:
    2
    Views:
    114
  4. A_Dude

    Session.Lcid question

    A_Dude, Oct 27, 2003, in forum: ASP General
    Replies:
    0
    Views:
    92
    A_Dude
    Oct 27, 2003
  5. A_Dude

    Session.Lcid issue

    A_Dude, Oct 28, 2003, in forum: ASP General
    Replies:
    2
    Views:
    128
    A_Dude
    Oct 29, 2003
Loading...

Share This Page