mpw/toolbox/mpw_time.h

19 lines
283 B
C
Raw Normal View History

2013-02-14 03:15:42 +00:00
#ifndef __MPW_TIME_H__
#define __MPW_TIME_H__
#include <cstdint>
#include <ctime>
namespace Time
{
time_t UnixToMac(time_t);
time_t MacToUnix(time_t);
uint16_t ReadDateTime(uint16_t trap);
uint16_t SecondsToDate(uint16_t trap);
2013-02-16 01:41:57 +00:00
uint16_t TickCount(uint16_t trap);
2013-02-14 03:15:42 +00:00
}
#endif