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' -

java - Log4j2 configuration not found when running standalone application builded by shade plugin -

python - How do I create a list index that loops through integers in another list -