i have extracted a date in this format 05 Jan 2021 (var_extrateddate data type : string ) how i can convert it in different format like 05/01/2021
You can use the following syntax where
input_date = variable having your input
DateTime.ParseExact(input_date, “dd MMM yyyy” , System.Globalization.CultureInfo.InvariantCulture).ToString(“dd/MM/yyyy”)
Hi! Welcome to community!
Have view on this
Regards,
NaNi
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.