I have a date that is coming from the database like so:
26/01/2016 12:00:00 AM
and I am capturing it as a string
questionItem.DueDate = dataReader[6].ToString();
I am trying to reformat this string so its looks like
2016-01-26
How would I do this?