{% set currentDate = "now"|date("d") %} {% if currentDate % 3 == 0 %} {% elseif currentDate % 3 == 1 %} {% else %} {% endif %}
Hello {{ app.request.cookies.get('username', 'nobody') }} - change name