codeigniter - How to change the time zone in a MySQL database -


in database table field taking date time value current_timestamp. not getting current time of country. how can change time zone ('asia/kolkata') mysql database.

i have access manage database phpmyadmin.

i think database located in , using codeigniter develop site.

instead of using current_timestamp(), try use sysdate();


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -