get the current year in django template code example Example: django template tag to display current year {% now "Y" %}