SPFile.TimeCreated Property

Gets a date and time value that indicates when the file was created.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public DateTime TimeCreated { get; }

Property Value

Type: System.DateTime
A System.DateTime object that specifies when the file was created in Coordinated Universal Time (UTC).

For information about how to convert date and time values, see Converting Date and Time Values.