Dates

Discussion in 'ASP General' started by John Smith, Sep 30, 2004.

  1. John Smith

    John Smith Guest

    After moving a small web app to Win2k3 / IIS 6 the date is being
    displayed as DDMMYYYY, rather than MMDDYYYY. Can I change something in
    the regional settings to correct this? Or do I have to change the source?
     
    John Smith, Sep 30, 2004
    #1
    1. Advertising

  2. John Smith

    PW Guest

    You have to format the date manually to get what you want. Like this ...

    myDate = day(Date()) & "-" & month(Date()) & "-" & year(Date())
     
    PW, Sep 30, 2004
    #2
    1. Advertising

  3. John Smith wrote:
    > After moving a small web app to Win2k3 / IIS 6 the date is being
    > displayed as DDMMYYYY, rather than MMDDYYYY. Can I change something in
    > the regional settings to correct this? Or do I have to change the
    > source?


    http://www.aspfaq.com/show.asp?id=2313 vbscript
    http://www.aspfaq.com/show.asp?id=2040 help with dates
    http://www.aspfaq.com/show.asp?id=2260 dd/mm/yyy confusion

    Bob Barrows

    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"
     
    Bob Barrows [MVP], Sep 30, 2004
    #3
    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. David Lozzi

    Dates dates dates dates... SQL and ASP.NET

    David Lozzi, Sep 29, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    893
    Rob Schieber
    Sep 30, 2005
  2. PW

    Dates! Dates! Dates!

    PW, Aug 7, 2004, in forum: ASP General
    Replies:
    4
    Views:
    222
    Mark Schupp
    Aug 9, 2004
  3. Replies:
    1
    Views:
    228
    Jano Svitok
    Jul 17, 2007
  4. kellygreer1

    RFC-822 dates into Ruby dates

    kellygreer1, Jun 8, 2008, in forum: Ruby
    Replies:
    1
    Views:
    230
    Eric I.
    Jun 8, 2008
  5. Dr J R Stockton

    FAQ Dates; Opera Dates.

    Dr J R Stockton, Jun 18, 2007, in forum: Javascript
    Replies:
    0
    Views:
    179
    Dr J R Stockton
    Jun 18, 2007
Loading...

Share This Page