OMC:Notification.PreviousDate

Version: - date  

Summary

Returns previous date from day of notification sent. 

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetDate("OMC:Notification.PreviousDate")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetDate("OMC:Notification.PreviousDate"); }

Outputting the template tag

<!--@OMC:Notification.PreviousDate-->

Check if date has a value

<!--@If Defined(@OMC:Notification.PreviousDate)--> Let's output this tag here: <strong><!--@OMC:Notification.PreviousDate--></strong> <!--@EndIf(@OMC:Notification.PreviousDate)-->