2011-05-27 18:38:30 +02:00
|
|
|
#include "guiutil.h"
|
|
|
|
|
|
|
|
#include <QDateTime>
|
|
|
|
|
|
|
|
QString DateTimeStr(qint64 nTime)
|
|
|
|
{
|
|
|
|
QDateTime date = QDateTime::fromMSecsSinceEpoch(nTime*1000);
|
2011-05-27 19:48:42 +02:00
|
|
|
return date.date().toString(Qt::SystemLocaleShortDate) + QString(" ") + date.toString("hh:mm");
|
2011-05-27 18:38:30 +02:00
|
|
|
}
|