Output of the current year in php and twig

With the onset of the new year, tasks appeared to replace its value on old sites, where they were written manually (for example, in the copyright line).

A small note on the conclusion of the year on php

<?php echo date("Y"); ?>

and twig

{{ 'now' | date('Y') }}

Простий текст

  • Не дозволено жодних HTML теґів.
  • Рядки й абзаци переносяться автоматично.
  • Адреси вебсторінок та адреси електронної пошти автоматично перетворюються у посилання.
Код мови коментаря.