Relative Content

Tag Archive for c#dateenumslocalizationdayofweek

Localized day of week to DayOfWeek enum

Currently my application stores information as plain text of the local day of week name. (e.g. Montag, Dienstag). This is quite error prone (upper, lower case). I know there is the DayOfWeek enum. How to get the localized version from the enum is well documented and covered in many questions.