DateTime.FromFileTime

About

Returns a DateTime value from the supplied number.

Syntax

DateTime.FromFileTime(fileTime as nullable number) as nullable datetime  

Arguments

Argument Description
fileTime The fileTime is a Windows file time value that represents the number of 100-nanoseconds intervals that have elapsed since 12:00 midnight, January 1, 1601 A.D. (C.E.) Coordinated Universal Time (UTC).

Example

DateTime.FromFileTime(12987640252984224) equals #datetime(2012, 7, 24, 14, 50, 52.9842245)