Windows FILETIME to Javascript Date
In case you ever care about this ...
/**
* fileTimeToDate()
*
* Convert a Windows FILETIME to a Javascript Date
*
* @param {number} fileTime - the number of 100ns
* intervals since January 1, 1601 (UTC)
* @returns {Date}
**/
function fileTimeToDate( fileTime ) {
return new Date ( fileTime / 10000 - 11644473600000 );
};
Comments