Where does DateFormat.ShortDatePattern and 'Regional Settings/Date tab'

Discussion in 'ASP .Net' started by Phil, Nov 6, 2003.

  1. Phil

    Phil Guest

    My regional setting (on Win2000) is:
    (General Tab)Locale = English (US)
    (Date Tab), short date = MM/dd/yy

    When I ask .Net DateFormat.ShortDatePattern,
    I get MM/dd/yyyy

    Now, where does the yyyy part come from? It looks as if
    DateFormat does not look in the overriden format on the
    Date tab and just assumes that English(US) is fixed to MM/dd/yyyy...
    Is there a function that does return the (imho) correct MM/dd/yy format?
     
    Phil, Nov 6, 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. Karunakararao
    Replies:
    0
    Views:
    675
    Karunakararao
    May 11, 2004
  2. =?Utf-8?B?RGF2aWQgTGVlIEFV?=

    Setting date format, regional settings for ASP.NET

    =?Utf-8?B?RGF2aWQgTGVlIEFV?=, Jun 15, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    2,777
    =?Utf-8?B?RGF2aWQgTGVlIEFV?=
    Jun 15, 2004
  3. Phil Winstanley [Microsoft MVP ASP.NET]

    Re: Setting date format, regional settings for ASP.NET

    Phil Winstanley [Microsoft MVP ASP.NET], Jun 15, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    488
    Phil Winstanley [Microsoft MVP ASP.NET]
    Jun 15, 2004
  4. =?Utf-8?B?b3B0aWNzdG9ybQ==?=

    Getting client side regional settings date format

    =?Utf-8?B?b3B0aWNzdG9ybQ==?=, Jul 12, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    8,677
    Mark Rae
    Jul 12, 2005
  5. Mark
    Replies:
    12
    Views:
    940
Loading...

Share This Page