From the "isn't that neat" department, and I hope it eventually helps somebody:
Qt Code:
  1. QString newDate =
  2. QDate::fromString(__DATE__, "MMM dd yyyy").toString("yyyy-MM-dd");
To copy to clipboard, switch view to plain text mode 

--
Bob