MonthName() function returns a non-english string

Posted on 2006-04-04
Last Modified: 2008-01-09
Hi experts, I'm doing some vbscripting and I'm using the MonthName () as well as WeekdayName() functions.
My problem is that though these functions return results allright, the result strings are not in english
e.g. MonthName(10,true) returns 'okt' and WeekdayName(2) returns 'mandaag'
I want these results in english, how do I do it
I've checked my Regional and Language settings and the language is
English(United States)
Question by:Pi7
    LVL 8

    Accepted Solution

    Try adding:

    <% Session.LCID = 1033 %>

    Place this at the top of the page, or in your global.asa file.  This changes the Locale ID to the US setting.

    LVL 5

    Author Comment

    yo pal, it did the trick thanx a million

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
    This demonstration started out as a follow up to some recently posted questions on the subject of logging in: and…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now