Erroare la functia date()
Scris: Mie Iul 06, 2011
De ce la functia date() imi da erroarea asta:
?
Eu unu am pus asta la inceputul scriptului:
Dar tot apare erroarea:(
App: Functia date e asa: date = date('d.m.Y');
Ms mult!
Cod: SelectaĊ£i tot
Strict Standards: 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/Helsinki' for 'EEST/3.0/DST' instead in site on line 20
Eu unu am pus asta la inceputul scriptului:
Cod: SelectaĊ£i tot
date_default_timezone_set('Europe/Helsinki');
App: Functia date e asa: date = date('d.m.Y');
Ms mult!