PublishingPage.CreatedDate property

Gets the Coordinated Universal Time (UTC) when this PublishingPage object was created.

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

Public ReadOnly Property CreatedDate As DateTime
Dim instance As PublishingPage
Dim value As DateTime

value = instance.CreatedDate

Property value

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

When a PublishingPage is created (see [M:Microsoft.SharePoint.Publishing.PublishingPageCollection.Add(System.String,Microsoft.SharePoint.Publishing.PageLayout]) the CreatedDate method is initialized and cannot be modified.

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 in order to retrieve it and to return its property values.