[SOLVED]QDateTime::fromString() doesn't work
-
Hello,
I need to read a DateTime from a String so I tried the fromString() function.
I did a little test function, because in my real Program it doesn't work correctly.
@ QString timeString("13.12.2013 12:45:30.555");
QDateTime time;
time.fromString(timeString, "dd.MM.yyyy-hh:mm:ss.zzz");@when I do it like that the time is always invalid
What do I do wrong? I really don't understand what could be wrong.
thanks for your help