How to convert Afrikans Date “09-Mei-2024” into US date format “dd/MM/YYYY”
I tried using below code but its throwing error
DateTime.ParseExact(““09-Mei-2024””, {“dd-MMM-yyyy”}, new CultureInfo(“en-US”),DateTimeStyles.None).tostring(“MM/dd/yyyy”)
output error -
The following errors were encountered while processing the workflow tree:
‘VisualBasicValue’: Compiler error(s) encountered processing expression “DateTime.ParseExact(”“09-Mei-2024”",
{
“dd-MMM-yyyy”
},
new CultureInfo(“en-US”),DateTimeStyles.None).tostring(“MM/dd/yyyy”)".(2) : error BC32017: Comma,
‘)’,
or a valid expression continuation expected.