Solved Converting QDateTimeEdit to QDateTime
-
So I am working on some code using PySide2 and I am trying to convert the data inputted using QDateTimeEdit to QDateTime so I can access the functions in QDateTime such as addYears and addSecs, so how do I go about this?
-
@BlueBreezy QDateTimeEdit already gives you QDateTime: https://doc.qt.io/qt-5/qdatetimeedit.html#dateTime-prop
-
This post is deleted! -
I solved it thanks!