mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-11-15 03:15:05 -05:00
8 lines
No EOL
236 B
C++
8 lines
No EOL
236 B
C++
#include "mkv_date.h"
|
|
|
|
__time64_t mkv_date_as_time_t(mkv_date_t val)
|
|
{
|
|
__time64_t val_time = (__time64_t)val / 1000ULL /*nano->micro*/ / 1000ULL /*micro->milli*/ / 1000ULL /*milli->second*/;
|
|
val_time+=978325200ULL;
|
|
return val_time;
|
|
} |