eDosStation/EpdBase/TimeFunctions.h

16 lines
289 B
C
Raw Normal View History

2019-02-01 09:54:48 +01:00
#pragma once
#include <windows.h>
#include <time.h>
2021-04-16 10:38:48 +02:00
class TimeFunctions
2019-02-01 09:54:48 +01:00
{
public:
TimeFunctions();
static void UnixTimeToFileTime(time_t t, LPFILETIME pft);
static void UnixTimeToSystemTime(time_t t, LPSYSTEMTIME pst);
};
2021-05-21 16:22:20 +02:00
UINT32 FileTime_to_POSIX(FILETIME ft);
UINT32 UnixTimeNow();