TimeLastModified Property
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

SPFile.TimeLastModified Property

Windows SharePoint Services 3

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.

© 2015 Microsoft