Ecom:CustomerCenter.List.PublishToDate
Version: - dateSummary
Returns the date that the list is published to.
Settings
The value is generated automatically.
Remarks
The value is based on the publishing date input field when creating the list.
Examples
Outputting the template tag
@GetDate("Ecom:CustomerCenter.List.PublishToDate")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetDate("Ecom:CustomerCenter.List.PublishToDate"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetDate("Ecom:CustomerCenter.List.PublishToDate");
}
Outputting the template tag
<!--@Ecom:CustomerCenter.List.PublishToDate-->
Check if date has a value
<!--@If Defined(@Ecom:CustomerCenter.List.PublishToDate)-->
Let's output this tag here: <strong><!--@Ecom:CustomerCenter.List.PublishToDate--></strong>
<!--@EndIf(@Ecom:CustomerCenter.List.PublishToDate)-->