FilepublishFileDatemodified
Version: - dateSummary
Returns the modification date of the folder.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetDate("FilepublishFileDatemodified")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetDate("FilepublishFileDatemodified"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetDate("FilepublishFileDatemodified");
}
Outputting the template tag
<!--@FilepublishFileDatemodified-->
Check if date has a value
<!--@If Defined(@FilepublishFileDatemodified)-->
Let's output this tag here: <strong><!--@FilepublishFileDatemodified--></strong>
<!--@EndIf(@FilepublishFileDatemodified)-->