Like in the other mail, I have another problem with my logging class... I'm trying to get the current date to write it in each line it's writed but the process is stopped when I try to access the hours, the minutes or the seconds. $now = getdate(); $stringNow = $now["year"] . $now["month"] . $now["mday"] . " - " /*$now["hours"] . ":" . $now["minutes"] . ":" . $now["seconds"]*/; The commented code is the one that causes the execution to break. I compared the keys with the ones on the getdate's documentation page and they're the same... Anyone had this problem and know anything of it? Thanks :)