Forum:LastReply.Created

Version: - date  

Summary

Returns the timestamp for the last reply.

Settings

The value is generated automatically.

Remarks

Available for ContentAppIndexProviders only with content has Forum module.

Examples

Outputting the template tag

@GetDate("Forum:LastReply.Created")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetDate("Forum:LastReply.Created"); }

Outputting the template tag

<!--@Forum:LastReply.Created-->

Check if date has a value

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