DwPageCreatedDate
Version: - dateSummary
Returns the create date for the page.
Settings
The value is generated automatically.
Remarks
See Date/time tag extensions for further details about formatting this date.
Examples
Outputting the template tag
@GetDate("DwPageCreatedDate")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetDate("DwPageCreatedDate"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetDate("DwPageCreatedDate");
}
Outputting the template tag
<!--@DwPageCreatedDate-->
Check if date has a value
<!--@If Defined(@DwPageCreatedDate)-->
Let's output this tag here: <strong><!--@DwPageCreatedDate--></strong>
<!--@EndIf(@DwPageCreatedDate)-->