CorDateTimeStatic: FromFileTime |
Creates a CorDateTime object from an operating system file timestamp.
Public Function FromFileTime( ByVal Time As Currency ) As CorDateTime
Time is a 64-bit integer representing a Windows file timestamp. Using a Currency datatype means the timestamp is represented as milliseconds with the fraction representing ticks of a millisecond. No conversion if performed. The 64-bit values is used as is.
The timestamp is the number of milliseconds (including the fractional tick portion) elasped since January 1, 1601 A.D. 12:00 A.M. coordinated universal time (UTC).
A tick is 100-nanoseconds. There are 10000 ticks per millisecond, equivalent to the number of fractional values in a Currency datatype.