I looked at the solutions provided for similar questions but they all post the date the article was updated on. This is what I use: <h2>{{ post.getCreatedTime|date(“Y”) }}</h2> I just want to print the year.Read more