How to use date function properly? |
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
Website: http://avenir.ro
|
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 mwhitney - 02-17-2015, 11:05 AM
RE: How to use date function properly? - by Vimal - 03-04-2015, 10:18 PM
|