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

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

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -