This *has* to work, but doesn't: // ...returns invalid QDate... QDate my_date = QDate::fromString("01/18/12", "MM/dd/YY" );
Why doesn't this work? I also tried: // ...returns invalid QDate... QDate my_date = QDate::fromString("01/18/12", "MM'/'dd'/'YY" ); I don't get to control the format (I'm "reading-in" logs that were written by another program). The documentation suggests this should work, right? --charley
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest