Basically I have been tasked with editing the company database for dates field known as 'CreateDt'.
However the dates with in this field are stored in numerous amounts of formats which need to be converted into one, some examples are shown below;
29/01/2001 08:51:56
29/01/2001 12:09:07
05/06/2002
30/01/2001 11:48:53
31/01/2001 09:30:12
11/12/2014
12 December 2014
15/12/2014
15/12/2014
15 December 2014
15/12/2014
I have previously tried SQL server to convert however I have encountered problems when day and month values are less than 13 and dates are changing from for example
11/12/2014
to
21/11/2014
Would anyone have C# code which would enable me to format all dates accordingly