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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -