Fixtures and preparing dates

On thefixture guide , what is the way to prepare a field that is a date in the DB?

depends on which format it has in DB, if you store unix timestamp, it would be integer, if it is a date type, use string like '2018-11-09'

1 Like