PageActiveTo

Version: - date  

Summary

Returns date stamp the page is active to.

Settings

The value is generated automatically.

Remarks

Available for ContentAppIndexProviders only

Examples

Outputting the template tag

@GetDate("PageActiveTo")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@PageActiveTo-->

Check if date has a value

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