Convert Windows SYSTEMTIME or FILETIME to javascript time

01//
02// Convert Windows SYSTEMTIME or FILETIME to javascript time
03// 2003 Glenn Slayden
04//
05#include "windows.h"
06 
07// ...
08 
09SYSTEMTIME st;
10GetLocalTime(&st);
11FILETIME ft;
12SystemTimeToFileTime(&st,&ft);
13 
14__int64 jsTime = (*(__int64 *)&ft / 10000) - 11644448400000;