CreatedDate
Version: - dateSummary
Returns the created date and time the comment was created.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetDate("CreatedDate")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetDate("CreatedDate"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetDate("CreatedDate");
}
Outputting the template tag
<!--@CreatedDate-->
Check if date has a value
<!--@If Defined(@CreatedDate)-->
Let's output this tag here: <strong><!--@CreatedDate--></strong>
<!--@EndIf(@CreatedDate)-->