Doctrine dql functions Doctrine dql functions that works for both postgresql and mysql You can use this functions date