It would be good to add a function that converts QDateTime to the string format we're using.