Doctrine version update

Hello,

Is there a way to update doctrine version so that I can use the datetime type ?

According to this reference there are more types available in version 2.6. Running composer show | grep doctrine returns :

doctrine/annotations                 v1.4.0             Docblock Annotations Parser
doctrine/cache                       v1.6.2             Caching library offering an object-oriented API for many ...
doctrine/collections                 v1.4.0             Collections Abstraction library
doctrine/common                      v2.7.3             Common Library for Doctrine projects
doctrine/dbal                        v2.5.13            Database Abstraction Layer
doctrine/inflector                   v1.2.0             Common String Manipulations with regard to casing and sin...
doctrine/instantiator                1.0.5              A small, lightweight utility to instantiate objects in PH...
doctrine/lexer                       v1.0.1             Base library for a lexer that can be used in Top-Down, Re...
doctrine/migrations                  v1.3.1             Database Schema migrations using Doctrine DBAL
doctrine/orm                         v2.5.11            Object-Relational-Mapper for PHP
gedmo/doctrine-extensions            v2.3.12            Doctrine2 behavioral extensions

I am not sure if datetime becomes available in 2.6, the documentation says “Before 2.5”, so maybe nothing is changed in 2.6. Anyway, is it a good idea to update doctrine to 2.6 or higher ? If yes, how ?

Thanks in advance !

EDIT: Well, I think something else might be the problem, I’ll update when I try something else out.