Convert to date format -"YYYY-MM-DD"

You need to first convert the string to date format base on format given then you can convert the date to specific date formate using system.Globalization.CultureInfo.InvariantCulture