MCPcopy Create free account
hub / github.com/Segs/Segs / getSecsSince2000Epoch

Function getSecsSince2000Epoch

Components/TimeHelpers.cpp:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14#include <QDateTime>
15
16int64_t getSecsSince2000Epoch()
17{
18 QDateTime base_date(QDate(2000,1,1),QTime(0,0),Qt::UTC);
19 return base_date.secsTo(QDateTime::currentDateTimeUtc());
20}
21//! @}

Callers 4

sendEmailFunction · 0.85
on_lua_updateMethod · 0.85
startLuaTimerMethod · 0.85
register_GenericTypesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected