• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Timezone

#1
[eluser]Mauricio de Abreu Antunes[/eluser]
Hello,

When i use some php date (date or mdate [CI helper]) function in a controller, i get a error talking to me for set my timezone for 'America/Sao Paulo'.
How can i fix this?

#2
[eluser]CroNiX[/eluser]
Either set the timezone in your php.ini or manually set it at the top of your index.php.
Code:
date_default_timezone_set('America/Sao_Paulo');


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.