I have QString keeps dates like 2014-11-23 06:55:59
I want to parse this QString to QDate and QTime.
I've tried
When i debug the code, i see QString value correctly, but mydate has no value. How can i fix it?
I have QString keeps dates like 2014-11-23 06:55:59
I want to parse this QString to QDate and QTime.
I've tried
When i debug the code, i see QString value correctly, but mydate has no value. How can i fix it?
Last edited by Eleasar; 11th February 2014 at 12:13.
Because time is not a part of date ? Try this :
Qt Code:
To copy to clipboard, switch view to plain text mode
Eleasar (11th February 2014)
Done, Thank you
hi everyone,
i have been coding hotel management system and i would like to do something like this. in one lineedit it will be written check-in date which ı can do it and when i will write number of nights program will write automatically check-out date. i am waiting for your help.
thank you
Bookmarks