PageCreatedDate

Version: - date  

Summary

Returns date stamp the page was created.

Settings

The value is generated automatically.

Remarks

Available for ContentAppIndexProviders only

Examples

Outputting the template tag

@GetDate("PageCreatedDate")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetDate("PageCreatedDate"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetDate("PageCreatedDate"); }

Outputting the template tag

<!--@PageCreatedDate-->

Check if date has a value

<!--@If Defined(@PageCreatedDate)--> Let's output this tag here: <strong><!--@PageCreatedDate--></strong> <!--@EndIf(@PageCreatedDate)-->