Month in Spanish

Hi, I’m writing the current month but the language is in English and I need language in Spanish

"DateTimeFormatInfo.CurrentInfo.GetMonthName(datetime.Now.Month-1).ToUpper

"

Hey @Yesid_Granados_Velas

Check this:

String MonthName =
DateTime.Now.ToString("MMMM", System.Globalization.CultureInfo.CreateSpecificCulture("es")).ToString
//Output - noviembre

Regards…!!
Aksh

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.