Correct function differenceDays with C library. It some better than Qt.