Pb avec date
Posté : 03 janv. 2008, 22:22
Code : Tout sélectionner
$today = date('Y-m-d') ;
C'est bizarre car sur un autre ordi, j'ai pas l'erreur, est ce lié au fuseau horaire sur lequel est réglé l'ordinateur ?
date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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/Berlin' for 'CET/1.0/no DST' instead