CodeIgniter Forums
DateDiff MySQL function with Doctrine - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: DateDiff MySQL function with Doctrine (/thread-54758.html)



DateDiff MySQL function with Doctrine - El Forum - 09-24-2012

[eluser]Unknown[/eluser]
hi Everyone,

I have used the Doctrine 2 library in my application, however, I am unable to use the DateDiff function in any of my SQL statements.

I have made a more detailed explanation here:

http://stackoverflow.com/questions/12563333/codeigniter-doctrine-datediff

Please advise if anybody has ever done it successfully.

Thank you so much.