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

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

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -