QT Equiv to VS2010 time(_time_64)
The title pretty much says it all but I am looking for QT's version of Microsoft's time(_time_64) function, I need a function that will return the number of seconds since 01/01/1970. I don't need to manipulate this data in any way just need that number.
That function has nothing to do with Microsoft, it is a function from C library.
So you can call that function with MingW compiler too.
Static "QDateTime::currentMSecsSinceEpoch() ":http://doc.qt.nokia.com/latest/qdatetime.html#currentMSecsSinceEpoch is the Qt equivalent. It returns milliseconds, not seconds, so you might need to divide them by 1000 to get seconds.