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)
Syntax
'Declaration
Public ReadOnly Property TimeCreated As DateTime
Get
'Usage
Dim instance As SPFile
Dim value As DateTime
value = instance.TimeCreated
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).
Remarks
For information about how to convert date and time values, see Converting Date and Time Values.