0

I created a QTimeedit class in pyqt5. I want to get the time that I set in it. How to get the time from qtimeedit?

eyllanesc
  • 235,170
  • 19
  • 170
  • 241
Anesh
  • 453
  • 3
  • 7
  • 15
  • It says 'builtin_function_or_method' object has no attribute 'toString' – Anesh Jan 20 '19 at 04:52
  • I already corrected it: docs: http://doc.qt.io/qt-5/qdatetimeedit.html#time ----> `string_time = yout_timeEdit.time().toString()` – eyllanesc Jan 20 '19 at 04:53
  • Do you also know how to get date time in Datetimeedit? – Anesh Jan 20 '19 at 19:18
  • http://doc.qt.io/qt-5/qdatetimeedit.html#date, http://doc.qt.io/qt-5/qdatetimeedit.html#time, http://doc.qt.io/qt-5/qdatetimeedit.html#dateTime-prop – eyllanesc Jan 20 '19 at 21:29

0 Answers0