It takes a string version of a date expecting dd/mm/yyyy (uk based).
However it will also take into account spaces, tabs, 2 and 4 year dates and leading 0's in the day, month and year values.
So the following example for 31 March 2010 will be translated correctly:
31/03/2010
31/3/2010
31/3/10
31 / 03 / 2010
This can happen when unstructured text entries are made for dates.
Run this code below in query analyser to create the function StringToDate.
This can then be used in commands such as
To get a datetime version of the string ProjectStartDate. It could also be used to transfer string based date values into a datetime field.