16 lines
229 B
C
16 lines
229 B
C
|
#ifndef MY_TIME_H
|
||
|
#define MY_TIME_H
|
||
|
|
||
|
#include <string>
|
||
|
#include <time.h>
|
||
|
#include <sys/time.h>
|
||
|
|
||
|
|
||
|
class MyTime {
|
||
|
public:
|
||
|
static std::string get_current_time();
|
||
|
static long long int get_timestamp();
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // MY_TIME_H
|