Revision: Fri, 20 Dec 2024 23:34:11 GMT

DateTime

All properties with type "date", "datetime", "timestamp" will be represented using a DateTimeImmutable object.

By default, the ORM uses single DB specific timezone which can be configured on driver level, all dates selected from and stored into the database will be converted into UTC timezone.

DBAL will automatically convert any DateTimeInterface parameter into the appropriate timezone to ensure proper data selection.

You can use Behaviors for created_at, updated_at and deleted_at columns.

Edit this page