Hunny Software Library Reference

AppleFile.AppleFileTimeToUnixTime Method 

Converts from AppleFile time to Unix time.

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

Parameters

afTime
an AppleFile time

Return Value

a UNIX 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