Finally a sensible way to recognise dates.