I would like to know if it is possible to display a custom date field in the card view of matrix field. Unfortunately, it is not possible to use a date field as a title or part of a title. it gives:

Object of class DateTime could not be converted to string

1 Answer 1


It's not completely clear to me what you're trying to do, but to answer part of your question:

To include a Date field in entry titles, you'll have to convert it to a string – i.e. format it, for example

{heading} - {dateFieldHandle|date('Y-m-d')}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.