[ros-dev] [ros-diffs] [pschweitzer] 64752: [NTFS] Implement NtfsDateTimeToFileTime() which convert epoch time (1970) to Windows time (1601)
Thomas Faber
thomas.faber at reactos.org
Wed Oct 15 20:46:37 UTC 2014
On 2014-10-15 22:23, pschweitzer at svn.reactos.org wrote:
> +/* See:
> + -> http://msdn.microsoft.com/en-us/library/ms724228
> + -> http://bos.asmhackers.net/docs/filesystems/ntfs/standard.html#layout
> + */
> +VOID
> +NtfsDateTimeToFileTime(ULONGLONG NtfsTime,
> + PLARGE_INTEGER SystemTime)
> +{
> +
> + SystemTime->QuadPart = NtfsTime + 116444736000000000;
> +}
Doesn't NTFS use FILETIME directly? I thought that's the reason it's
called "file time" in the first place. ;)
Wikipedia says
"Date range: 1 January 1601 – 28 May 60056 (File times are 64-bit
numbers counting 100-nanosecond intervals (ten million per second)
since 1601, which is 58,000+ years)"
and your link doesn't seem to disagree.
More information about the Ros-dev
mailing list