PageActiveFrom
Version: - dateSummary
Returns date stamp the page is active from.
Settings
The value is generated automatically.
Remarks
Available for ContentAppIndexProviders only
Examples
Outputting the template tag
@GetDate("PageActiveFrom")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetDate("PageActiveFrom"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetDate("PageActiveFrom");
}
Outputting the template tag
<!--@PageActiveFrom-->
Check if date has a value
<!--@If Defined(@PageActiveFrom)-->
Let's output this tag here: <strong><!--@PageActiveFrom--></strong>
<!--@EndIf(@PageActiveFrom)-->