FileInformation.DateCreated Property

Definition

Gets the date that the file was created.

public:
 property DateTime DateCreated { DateTime get(); };
DateTime DateCreated();
public System.DateTimeOffset DateCreated { get; }
var dateTime = fileInformation.dateCreated;
Public ReadOnly Property DateCreated As DateTimeOffset

Property Value

The file creation date.

Implements

Remarks

If the date property isn't set, this value defaults to 0 which can be translated into misleading dates in different programming languages. In JavaScript, for example, 0 translates to December 16, 1600. You should always check that this property is a real value and not 0.

Applies to