Forum:LastActiveThread.Created

Version: - date  

Summary

Returns the creation timestamp for last active thread.

Settings

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

Examples

Outputting the template tag

@GetDate("Forum:LastActiveThread.Created")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if date has a value

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