Originally Posted by Lesiok Since multiply two int numbers result is an int and overflow. Change line to this : Qt Code: Switch view QDateTime somedate=QDateTime::fromMSecsSinceEpoch((qint64)1000*1422021168); QDateTime somedate=QDateTime::fromMSecsSinceEpoch((qint64)1000*1422021168); To copy to clipboard, switch view to plain text mode wow! would never think that's the cause. Thanks a lot!
QDateTime somedate=QDateTime::fromMSecsSinceEpoch((qint64)1000*1422021168);
Forum Rules
Bookmarks