public DateTime GetLastPublishedDate(PageNode pageNode) { //ToSitefinityUITime converts the time to what is displayed in the UI taking into account local time zones, //daylight saving etc return(pageNode.GetCurrentApprovalTrackingRecord().DateCreated.ToSitefinityUITime()); }