Forum:FirstAnswer.Created

Version: - date  

Summary

Returns the creation timestamp for first answer. 

Settings

The value is based on the Date field for the forum message.

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)-->