Luk*_*keH 18
// using the current culture - returns "July" for me
string x = DateTimeFormatInfo.CurrentInfo.GetMonthName(7);
// using a specific culture - returns "juillet"
string y = CultureInfo.GetCultureInfo("fr-FR").DateTimeFormat.GetMonthName(7);
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
2948 次 |
最近记录: |