diff options
Diffstat (limited to 'src/qt/clientmodel.cpp')
-rw-r--r-- | src/qt/clientmodel.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp index d7172fd9cd..85ab03612d 100644 --- a/src/qt/clientmodel.cpp +++ b/src/qt/clientmodel.cpp @@ -5,6 +5,7 @@ #include "transactiontablemodel.h" #include "main.h" +static const int64 nClientStartupTime = GetTime(); #include <QDateTime> @@ -98,3 +99,8 @@ QString ClientModel::clientName() const { return QString::fromStdString(CLIENT_NAME); } + +QDateTime ClientModel::formatClientStartupTime() const +{ + return QDateTime::fromTime_t(nClientStartupTime); +} |