Hunny Software Library Reference

AppleFile.UnixTimeToAppleFileTime Method 

Converts from Unix time to AppleFile time.

[Visual Basic]
Public Shared Function UnixTimeToAppleFileTime( _
   ByVal unixTime As Integer _
) As Integer
[C#]
public static int UnixTimeToAppleFileTime(
   int unixTime
);

Parameters

unixTime
a UNIX time

Return Value

an AppleFile time

Remarks

An Apple file time is defined to be the signed number of seconds before or after 1 Jan 2000 00:00:00 UTC. The value 0 represents 1 Jan 2000 00:00:00 UTC; a negative time represents the number of seconds until 1 Jan 2000 00:00:00 UTC; and a positive value represents the number of seconds after 1 Jan 2000 00:00:00 UTC. A Unix time is the number of seconds since 1 Jan 1970 00:00:00 UTC.

See Also

AppleFile Class | Hunny.Mime Namespace