Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/nsmkv/mkv_date.cpp

8 lines
236 B
C++
Raw Normal View History

2024-09-24 12:54:57 +00:00
#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;
}