Answer the question
In order to leave comments, you need to log in
C# - How to Russify DateTime?
Hello everyone, I am a beginner programmer and today I faced the problem of Russification of "DateTime". It was necessary to display "tomorrow of the week" on the console screen, I did it like this:
var WeekDay = System.DateTime.Now.DayOfWeek;
var WeekDay2 = WeekDay + 1;
Console.WriteLine("Завтра " + WeekDay2.ToString(CultureInfo.CreateSpecificCulture("RU-ru"));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question