SPFile.TimeLastModified property

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Public ReadOnly Property TimeLastModified As DateTime
Dim instance As SPFile
Dim value As DateTime

value = instance.TimeLastModified
public DateTime TimeLastModified { get; }

Property value

Type: System.DateTime
A System.DateTime object that indicates the date and time in Coordinated Universal Time (UTC).


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

See also


SPFile class

SPFile members

Microsoft.SharePoint namespace