Welcome Guest, Not a member yet? Register   Sign In
How to use date function properly?
#2

I think it has nothing to do with the CodeIgniter. It has to do with your server's time which might be different than your computer's time. Or rather with the timezone. You should try putting date_default_timezone_set() in main index.php file (the one that starts up CodeIgniter). Take a look here: http://php.net/manual/en/function.date-d...ne-set.php
Reply


Messages In This Thread
How to use date function properly? - by Vimal - 02-17-2015, 04:57 AM
RE: How to use date function properly? - by Avenirer - 02-17-2015, 06:00 AM
RE: How to use date function properly? - by Vimal - 02-17-2015, 06:13 AM
RE: How to use date function properly? - by Vimal - 03-04-2015, 10:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB