Consent.UpdatedDate

Version: 9.5.0 date  

Summary

Returns datetime stamp of the consent updating.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetDate("Consent.UpdatedDate")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetDate("Consent.UpdatedDate"); }

Outputting the template tag

<!--@Consent.UpdatedDate-->

Check if date has a value

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