Convert data to PT-BR

Guys, I have the following problem. The name of a table in excel is “out” for the month of October in the Portuguese language in Brazil. It happens that when I use the <DateTime.Now.AddMonths (-1) .ToString (“MMM”). ToString> command it returns in English “oct” hence how I am doing a “out = oct” comparison. error. How do I convert the command to my language PT_BR?



DateTime.Now.ToString(“MMM”, System.Globalization.CultureInfo.CreateSpecificCulture(“pt-BR”)).ToLower.ToString

tenta assim mano

1 Like

se puder, marca como concluido aqui no forum, pfv