If you want to use these functions in symfony dotrine you need to know that these functions does not come when you install doctrine. So you will have to install an extension for doctrine in order to know what should do when you insert the code in your repository. To install the extension go to… Continue reading How To Use DAY, MONTH, YEAR Functions In Doctrine Symfony