Re: PyQT / QDate / QTableWidget

2008-03-31 Thread wrightee
That worked! Thank you; I had given up on QDate but changing the format worked perfectly. -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQT / QDate / QTableWidget

2008-03-28 Thread David Boddie
On Wed Mar 26 15:13:09 CET 2008, wrightee wrote: My server gives me a string y[0]: 20080327, which I convert to a QDateTime object using: x=QDateTime.fromString(y[0],mmdd) Printing x.toString(dd-mm-) gives me what I would expect - 27-03-2008 Strange. You should really be using

PyQT / QDate / QTableWidget

2008-03-26 Thread wrightee
Hi, new at PyQT but not coding.. I'm stumbling with QDate and QTableWidget using PyQT and would appreciate some guidance: My server gives me a string y[0]: 20080327, which I convert to a QDateTime object using: x=QDateTime.fromString(y[0],mmdd) Printing x.toString(dd-mm-) gives me what