[SOLVED] what do you mean by this on date function? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: [SOLVED] what do you mean by this on date function? (/showthread.php?tid=28148) |
[SOLVED] what do you mean by this on date function? - El Forum - 03-03-2010 [eluser]xeroblast[/eluser] got a problem when i upgrade my opensuse 11.1 to 11.2... this is the line where the error appear... Code: <?php echo mdate("%F %j %Y",mysql_to_unix($profile->birthdate)); ?> Quote:A PHP Error was encountered Quote:A PHP Error was encountered [SOLVED] what do you mean by this on date function? - El Forum - 03-03-2010 [eluser]xeroblast[/eluser] i finally solved it by adding this line on my index.php Quote:date_default_timezone_set(date_default_timezone_get()); i think, this problem occur in the new version of php coz a friend told me that there is something wrong with the date function in the new version of php... |