Ecom:Order.Date

Version: - date  

Summary

Returns the creation date of the order.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetDate("Ecom:Order.Date")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetDate("Ecom:Order.Date"); }

Outputting the template tag

<!--@Ecom:Order.Date-->

Check if date has a value

<!--@If Defined(@Ecom:Order.Date)--> Let's output this tag here: <strong><!--@Ecom:Order.Date--></strong> <!--@EndIf(@Ecom:Order.Date)-->