OMC:Notification.Visitor.LastVisit

Version: - date  

Summary

Returns date of last visit of visitor.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetDate("OMC:Notification.Visitor.LastVisit")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@OMC:Notification.Visitor.LastVisit-->

Check if date has a value

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