How do you set default timezone in Codeigniter ?

devquora
devquora

Posted On: Feb 22, 2018

 

    1 Answer Written

  •  devquora
    Answered by vjsiva

    Setting global timezone in CodeIgniter

    In application/config.php file, you can set global timezone in CodeIgniter. Find below array in and application/config.php change as per your requirement.

    $config['time_reference'] = 'Asia/Kolkata';
    

Related Questions

Please Login or Register to leave a response.

Related Questions

CodeIgniter Interview Questions

How to check the version of CodeIgniter framework?

How to check the version of CodeIgniter framework?..