Submit.Date

Version: - date  

Summary

Returns the date and time where the form was submitted

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetDate("Submit.Date")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetDate("Submit.Date"); }

Outputting the template tag

<!--@Submit.Date-->

Check if date has a value

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