If that’s the case the format changes accordingly like this
dd MMMM yyyy - we need pass accordingly
stroutput = DateTime.ParseExact(strinput.ToString, “dd MMMM yyyy”, CultureInfo.InvariantCulture).ToString(“MMM’yyyy”)
I would recommend to have a view on this to know all the date format