This documentation is archived and is not being maintained.

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.

Show: