Hunny Software Library Reference

AppleFile.CreateTime Property

Gets or sets the create time.

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

Property Value

the file create time

Remarks

The create time is the time that the file was created.

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