Convert String to Date (22 de abril de 2022)

Hi

Dear collegues

By any chance, does anyone know how I can convert the following string from String to date? (22 de abril de 2022). This is a fixed entry, therefore it will always arrive in this format.

Assuming that it’s in Spanish:

Convert.ToDateTime("22 de abril de 2022", New System.Globalization.CultureInfo("es-ES"))

Hi @ptrobot

Thanks for your help, it worked excellent

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