Set default timezone for date/time functions (php 5.3 compatibility requirement)


/ Published in: PHP
Save to your folder(s)

Set the default timezone for date/time functions to use if none is set on the server.


Copy this code and paste it in your HTML
  1. if (!ini_get('date.timezone'))
  2. {
  3. }

URL: http://philsturgeon.co.uk/news/2009/12/CodeIgniter-on-PHP-5.3

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.