Created
October 2, 2023 07:15
-
-
Save ShilGen/083bb448088e45ab258c9bcf14d6d52c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class Helper | |
{ | |
public static string getMonthName ( DateTime dt ) { | |
string[] m = new string[]{ | |
"Январь", | |
"Февраль", | |
"Март", | |
"Апрель", | |
"Май", | |
"Июнь", | |
"Июль", | |
"Август", | |
"Сентябрь", | |
"Октябрь", | |
"Ноябрь", | |
"Декабрь" | |
}; | |
return m[dt.Month - 1]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment