Answer the question
In order to leave comments, you need to log in
How to set date in Twig?
There is a hidden input field that sends the date the post was modified.
<input type="hidden" name="date_reg" value="<?date('Y-m-d H:i:s');?>">
<?date('Y-m-d H:i:s');?>
of the same time format to Twig language. The documentation didn't help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question