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. 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. Karunakararao
    Replies:
    0
    Views:
    800
    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,948
    =?Utf-8?B?RGF2aWQgTGVlIEFV?=
    Jun 15, 2004
  3. =?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:
    9,181
    Mark Rae
    Jul 12, 2005
  4. Sting
    Replies:
    2
    Views:
    424
    Thomas Weidenfeller
    Feb 19, 2004
  5. Mark
    Replies:
    12
    Views:
    1,223
  6. donet programmer
    Replies:
    3
    Views:
    2,064
    Gregory A. Beamer
    Nov 20, 2009
  7. David Lee AU
    Replies:
    1
    Views:
    357
    Aaron [SQL Server MVP]
    Jun 15, 2004
  8. Laurence Neville
    Replies:
    1
    Views:
    576
    Amiram Korach
    Dec 15, 2004
Loading...