2026 Community Survey results are here! See how the Craft CMS community works. results are live!

Date Filters

What do we do in Twig when we have DateTime object and need to convert it to a string? We use the date filter.

Topic
Instructor
Ryan Irelan
Level
Beginner
Date Published
July 17, 2018
Ryan Irelan

I am the creator of CraftQuest, a web developer, and former software team manager. I spend most of my time improving CraftQuest with code and courses. When I'm not in front of the computer, I spend my time with my family, and running on the roads and trails of Austin, TX.