Function Date Trouble Shooting
if you found this bug:Warning: date() [function.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
add this line on your php script before function date:
date_default_timezone_set(
"Asia/Jakarta"
);
Or follow this step:
1. Open php.ini (example: in opensuse; /etc/php5/apache2/php.ini)
2. search date.timezone
3. Change this line to be: date.timezone = "Asia/Jakarta"
4. Restart Apache
This is table of time zone:http://www.php.net/manual/en/timezones.asia.php
Oke thank --NCA
0 comments:
You can post comment with english language or indonesia language.
Anda bisa memberikan komentar dalam bahasa inggris atau bahasa indonesia.