Bonsoir à tous

J'ai une table avec un champ de type DateTime

quand j'essaie d'inserer un DateTime via doctrine, j'ai une erreur :

Object of class DateTime could not be converted to string

et quand j'essaie d'insérer un string y a :

Call to a member function format() on string

une idée ? svp