Gallery.Image.CreationTime

Version: - date  

Summary

Returns the created date for the image.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetDate("Gallery.Image.CreationTime")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetDate("Gallery.Image.CreationTime"); }

Outputting the template tag

<!--@Gallery.Image.CreationTime-->

Check if date has a value

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