DayOfWeek - local names

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I use

Calendar1.SelectedDate.DayOfWeek

I see the name of the day - but in englich - I want it in danish !

How can I do that ?

Best regards
KSor, Denmark
 
KSO,

Are you sure that your system OS is set to the Danisch culture and that you
have loaded a Danish .Net version with when needed the right language
additions?

Cor
 
Hi Cor

1) My OS IS set to "danish"
2) There is NO danish version of the C#

but I have found out it should be:

Calendar1.SelectedDate.ToString("dddd", CultureInfo.CurrentUICulture)

/KSor
 
KSO,

Not a Danish VS or C#. A Danish .Net version (1.1 or 2.0 etc). That exist
for Dutch, I cannot imagen that it does not exist for Danish. Although in
past it did not exist for Slovens (whatever you write that in English or
Danish).

Cor
 
Back
Top