Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] what do you mean by this on date function?
#1

[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

Severity: Warning

Message: mktime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Manila' for 'PHT/8.0/no DST' instead

Filename: helpers/date_helper.php

Line Number: 376

Quote:A PHP Error was encountered

Severity: Warning

Message: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Manila' for 'PHT/8.0/no DST' instead

Filename: helpers/date_helper.php

Line Number: 94


Messages In This Thread
[SOLVED] what do you mean by this on date function? - by El Forum - 03-03-2010, 03:04 AM
[SOLVED] what do you mean by this on date function? - by El Forum - 03-03-2010, 03:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB