Me sale el error String was not recognized as a valid DateTime

I try to get the month in letters

example if it says
4/18/2019

result:
“April”

@PD14
Welcome to the forum

Looks like an empty string, which cannot be parsed to a datetime.

We can trace, analyze and prototype the fix by:
Understanding the 6 Debugging Panels of UiPath in the easiest way possible! - News / Tutorials - UiPath Community Forum

:ambulance: :sos: [FirstAid] Datatable: Debug & Analysis invalid DateTime Strings / String to DateTime Parsing Issues - News / Tutorials - UiPath Community Forum

Kindly note also the highlighed argument, needed for the multiformat parsing approach
grafik

Hey

please try with the following code

DateTime.ParseExact("4/18/2019", "M/dd/yyyy", CultureInfo.InvariantCulture).ToString("MMMM")

image

Regards

I must do it with column 0 of excel

this will not block you. Whenever you see in any samples e.g. hardcoded value, other variables you will use row(0).ToString.Trim instead

(post deleted by author)