Question: I want to display the current year for copyright under the footer. This footer resides in the master page template. I tried to use a macro but it doesn't work. 

```
    <div class="col-4"><%= CurrentDateTime.Year %></div>

```

Answer: 
In ASCX layout macros are not supported. You need to use standard ASP.Net approach. For example something like mentioned [here](https://stackoverflow.com/questions/3890956/how-to-get-current-month-and-year). So, using `<%: DateTime.Now.Year %>` should work for you
Or if the template is the HTML type of layout, you can sue this macro instead:

```
{% Now.Year %}

```