I’m getting value from excel as input which is format “MM/dd/yyyy”
I need to convert split date value to get month value and convert the value format from “MM” to “MMMM”
Example- 10/03/2022
10 to October
You can try DataTime.ParseExact function
DateTime.ParseExact(strDate, “MM/dd/yyyy”,System.Globalization.CultureInfo.InvariantCulture).ToString(“MMMM”)
strDate = 10/03/2022
Output = October
Welcome to Uipath community
How about this expression
DateTime.ParseExact(YourString.ToString,"MM/dd/yyyy",System.Globalization.CultureInfo.InvariantCulture).ToString("MMMM")
Regards
Gokul
Regards
Gokul
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.