Welcome Guest, Not a member yet? Register   Sign In
Portability issue with sysdate and now()
#1

[eluser]nebulom[/eluser]
How do I abstract these values from my CI when Oracle is sysdate and now() in MySQL? Say for example my development is in MySQL and production is in Oracle. Anyhelp is greatly appreciated. Thanks a lot.
#2

[eluser]Ben Edmunds[/eluser]
The best solution I have found is to store a PHP generated date/time and not rely on the DB to generate it. Maybe someone else knows a better way though...




Theme © iAndrew 2016 - Forum software by © MyBB