Delphi: Convert any string to date - even "no date"
Converting strings to dates never seemed to be straightforward. First, specifying the source for all the different date component was difficult.
Second, if the conversion is unsuccessful and "no date" has been defined, it could not be expressed with TDate
or TDateTime
.