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