An introduction to what we'll cover and a brief primer on dates in Twig and Craft.
Here are all of the videos in Dates in Twig and Craft:
|1||Introduction to the Course||An introduction to what we'll cover and a brief primer on dates in Twig and Craft.||05:52|
|2||date() Function||The date() function in Twig converts a string date to a DateTime object.||08:09|
|3||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.||10:12|
|4||Comparing Dates||Following up on a livestream I did while building the Recently Added module, I step back and look at date comparisons.||17:48|
|5||Modifying Dates in Twig||We revisit some CraftQuest template code and use the date_modify filter to alter a date.||04:53|
|6||Relative Dates in Twig and Craft||How to smartly display a relative date in Twig and Craft.||13:19|
Invest in yourself, your career, and your ability to take knowledge and use it grow your business or earning potential.
Get everything in the catalog plus new videos every week. Just by signing up you get immediate access to hundreds of hours of learning.