UnixTimeToFileTime Method

Converts the date/time in Unix format to Windows FileTime format.

Syntax

public DateTime UnixTimeToFileTime(long unixTime, int nanoseconds);
Public Function UnixTimeToFileTime(ByVal UnixTime As Long, ByVal Nanoseconds As Integer) As DateTime

Remarks

Use this method to convert the date/time in Unix format to Windows FileTime format.

Pass the Unix time value to UnixTime and optionally pass the subsecond part of the time, expressed in nanoseconds, to the Nanoseconds parameter. If the subsecond part of the time is not available, set Nanoseconds to zero (0) value.

Copyright (c) 2022 Callback Technologies, Inc. - All rights reserved.
CBFS FUSE 2020 .NET Edition - Version 20.0 [Build 8348]