Share via


PublishingPage.LastModifiedDate Property

Gets the Coordinated Universal Time (UTC) when this PublishingPage object was last modified

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

Syntax

'Declaration
Public ReadOnly Property LastModifiedDate As DateTime
    Get
'Usage
Dim instance As PublishingPage
Dim value As DateTime

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

Property Value

Type: System.DateTime
The Coordinated Universal Time (UTC) when this PublishingPage was last modified

Remarks

The PublishingPage.LastModifiedDate value changes implicitly each time a PublishingPage is updated.

The date and time returned by this property can be converted from UTC format to local time in server-side code using the SPRegionalSettings.TimeZone.UTCToLocalTime(DateTime) method.

The user must have View permissions on the PublishingPage to retrieve the PublishingPage and to return its property values.

See Also

Reference

PublishingPage Class

PublishingPage Members

Microsoft.SharePoint.Publishing Namespace