Quantcast
Channel: Using Optimizely Platforms
Viewing all articles
Browse latest Browse all 8020

How to dynamically display current year in a footer in episerver

$
0
0

Hi,

I have a property 

public virtual XhtmlString FooterCopyRightText { get; set; }

Through CMS, editor will add the text with year in this. While rendering this property on View, I want to display the current year on it dynamically.

How to do it?


Viewing all articles
Browse latest Browse all 8020

Trending Articles