Umbraco Razor Last Updated Date and Time
@inherits umbraco.MacroEngines.DynamicNodeContext
<p><small>This page was last updated on: @Model.UpdateDate.ToString("dd.MM.yyyy") at @Model.UpdateDate.ToString("HH.mm") </small></p>
Example Output:
This page was last updated on: 01.08.2013 at 13.18
<p><small>This page was last updated on: @Model.UpdateDate.ToString("dd.MM.yyyy") at @Model.UpdateDate.ToString("HH.mm") </small></p>
Example Output:
This page was last updated on: 01.08.2013 at 13.18
Comments
Post a Comment