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