How can I get timestamp value in Twig?
There is other solution that might be easier to understand by designers.
{{ 'now'|date('U') }}
(I am aware that the question is already answered and it's old)
You can use this
{{ date().timestamp }}
There is other solution that might be easier to understand by designers.
{{ 'now'|date('U') }}
(I am aware that the question is already answered and it's old)
You can use this
{{ date().timestamp }}