date() Function

The date() function in Twig converts a string date to a DateTime object.

Loading next video...