datetime.ParseExact(str_date,“dd/MM/yyyy”,System.Globalization.CultureInfo.CurrentCulture)
I am getting error to convert string datetime
how can i use

I am getting error to convert date please can you give me complete understanding of Datetime
Hey @airwaveexporter
Use this in the Message Box,
DateTime.ParseExact(inStr.ToString,“MM/dd/yyyy”,Globalization.CultureInfo.InvariantCulture).ToString(“MM/yyyy”)
and make sure inputDate is of String Datatype.
Regards,
Goutham
@airwaveexporter - Convert to Datetime will work only based on the local settings. If you are in India you have to give dd/MM/yyyy format.
In my case, my local settings is MM/dd/yyyy so it worked in the first case and failed when i tried to dd/MM/yyyy format.
hope this helps…