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. Advertisements

  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. Advertisements

  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. Advertisements

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. Dilbert Does Dallas

    Release Dates

    Dilbert Does Dallas, Mar 24, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    645
    james
    Mar 26, 2005
  2. Jason Vriends

    Reading directories with dates

    Jason Vriends, Nov 13, 2003, in forum: Perl
    Replies:
    1
    Views:
    527
    J├╝rgen Exner
    Nov 13, 2003
  3. Firewalker

    Dates with Perl

    Firewalker, Sep 28, 2004, in forum: Perl
    Replies:
    4
    Views:
    1,380
  4. David Lozzi

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

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

    Dates! Dates! Dates!

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

    RFC-822 dates into Ruby dates

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

    FAQ Dates; Opera Dates.

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