On Friday 20 December 2002 3:17 pm, Oleksandr Yakovlyev wrote: > Can I compare QDateTime objects ? > I use > fi = QFileInfo(self.mailbox) > state = fi.lastModified() > fi.lastRead() > print state > > It show sometime 0, sometime 1 (by random) No. You need to convert them so something that the Python comparison operators can deal with. Phil