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 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.