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) -- Best regards Oleksandr Yakovlyev yshurik at thekompany.com Ukraine, Kyiv