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
Syntax
'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property TimeCreated As DateTime
Get
'Usage
Dim instance As SPFile
Dim value As DateTime
value = instance.TimeCreated
[ClientCallableAttribute]
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.