SP.File.timeCreated Property
Applies to: SharePoint Foundation 2010
Gets a value that specifies when the file was created.
var value = SP.File.get_timeCreated();
Property Value
Type: DateTime
Applies To
Exceptions
- FileNotFoundException
File cannot be found. Error code: -2147024894.
- UnauthorizedAccessException
The current user has insufficient permissions. Error code: -2147024891.