[Interest] QDateTime and std::chrono

Tomasz Siekierda sierdzio at gmail.com
Fri Nov 2 20:51:04 CET 2018


On Fri, 2 Nov 2018 at 17:51, Giuseppe D'Angelo via Interest
<interest at qt-project.org> wrote:
> Last, but not least, note that std::system_clock is a Unix clock only
> starting in C++2a; before you had no guarantees. Does anyone know if
> QDateTime::toMSecsSinceEpoch() returns UTC time or Unix time?
>

UTC time, according to docs
https://doc.qt.io/qt-5/qdatetime.html#toMSecsSinceEpoch



More information about the Interest mailing list