Interpreter string into an array of dates. A clever feature of Alexei Klimenko.