Server hour using "date" via shell (linux server) returns 17:00 , `time()` in a php file returns 17:00 , `getdate()` in the same php file returns 11:00. 

I tried `date_default_timezone_set('')` with different timezones but `getdate()` returns the current real hour minus 6 hours. 

Someone have any idea on why this happens and/or how can i fix this ? 

Thank you.