So why not simply use:
Qt Code:
  1. QDateTime::fromString(input, Qt::TextDate)
To copy to clipboard, switch view to plain text mode 
? The only possible problem is the time zone at the end of the string.