How to use QDateTime::fromString?
fromString
is a static function that returns the date; so you need to do:
QDateTime b = QDateTime::fromString(as,time_format);
in your code b
never chaged from its default initialized state
fromString
is a static function that returns the date; so you need to do:
QDateTime b = QDateTime::fromString(as,time_format);
in your code b
never chaged from its default initialized state