Fine
yah its like this with simple assign activity
in_string = “January”
then out_string = Datetime.Parseexact(in_string,“MMMM”,system.globalization.cultureinfo.invariantculture).ToString(“MM”)
where out_string is a string variable with value as 01
Have you mentioned three M
like MMM
then only we will be getting as Jan
if we mention like MM we will be getting only the numerical form of month
Kindly check that once pls
Cheers @f39b242a4f84ba555bd3
it still not change.
Think of another way, probably by using this
str_date = DateTime.ParseExact(“ChangeDateToAnewdateFormat”,“dd MMM yyyy”,Globalization.CultureInfo.InvariantCulture).ToString(“dd/MM/yyyy”) but, i get an error.
great then we need to change the parsing format
like this
DateTime.ParseExact(ResultofDate, “dMMMyyyy”, System.Globalization.DateTimeFormatInfo.InvariantInfo).ToString(“dd-mm-yyyy”)
its simple like what we have as format in input string ResultofDate should be mentioned next to it here in the highlighted area and here we have dMMMyyyy i.e., (2Aug2019)
you were almost done
kindly check once with that Substring
use a writeline and check what date format we are getting after using substring and mention that dateformat here
here :
i use to split activity to get only get month and date
On Jun 28, 2019 @
On Aug 20, 2019 @
On Aug 19, 2019 @
On Jun 19, 2019 @
On Jun 26, 2019 @
On Jun 28, 2019 @