Forum:FirstAnswer.Created

Version: - date  

Summary

Returns the date stamp for when the first answer was posted.

Settings

The value is generated automatically.

Remarks

Available for ContentAppIndexProviders only with content has Forum module.

Examples

Outputting the template tag

@GetDate("Forum:FirstAnswer.Created")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if date has a value

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