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