[ Поиск ] - [ Пользователи ] - [ Календарь ]
Полная Версия: помогите плиз срочно date() i strtotime()
Guest
date("d/m/Y", strtotime($flight['date_begin']));
сервер перешёл на 5.3 рнр и истало выдавать ошибку

Warning: strtotime() [function.strtotime]: 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 'Europe/Helsinki' for 'EEST/3.0/DST' instead in /var/home/oasis/data/www/oasis.com.ua/flt_agents/report_detail.php on line 67

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. We selected 'Europe/Helsinki' for 'EEST/3.0/DST' instead in /var/home/oasis/data/www/oasis.com.ua/flt_agents/report_detail.php on line 67
11/08/2011



Спустя 1 минута, 43 секунды (8.08.2011 - 13:42) neadekvat написал(а):
Ичо? Хоть прочитал сообщение то?
Поставь date_default_timezone_set('Europe/Helsinki') в начале скрипта, или какой у тебя пояс, не знаю. И радуйся.

Спустя 37 минут, 37 секунд (8.08.2011 - 14:20) Guest написал(а):
спасибо огромное
Быстрый ответ:

 Графические смайлики |  Показывать подпись
Здесь расположена полная версия этой страницы.
Invision Power Board © 2001-2024 Invision Power Services, Inc.