16 lines
315 B
C++
16 lines
315 B
C++
#pragma once
|
|
#include "stdtypes.h"
|
|
|
|
class CDateTime
|
|
{
|
|
public:
|
|
CDateTime();
|
|
CDateTime & SetToNow (void);
|
|
std::string Format (const char * format);
|
|
double DiffernceMilliseconds (const CDateTime & compare);
|
|
uint64_t Value(void);
|
|
void SetValue(uint64_t value);
|
|
|
|
private:
|
|
uint64_t m_time;
|
|
};
|