Hunny Software Library Reference

AppleFile.ModifyTime Property

Gets or sets the modify time.

[Visual Basic]
Public Property ModifyTime As Integer
[C#]
public int ModifyTime {get; set;}

Property Value

the file modify time

Remarks

The modify time is the time the file was last modified.

A file time's value represents the 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. The value System.Int32.MinValue is a special value that indicates an invalid value.

You may use the class methods UnixTimeToAppleFileTime() and AppleFileTimeToUnixTime() to convert between the apple file time representation (signed number of seconds since 1 Jan 2000) and the Unix time representation (unsigned number of seconds since 1 Jan 1970).

See Also

AppleFile Class | Hunny.Mime Namespace