changed from srtotime() to date_default_time_zone_set() to remove unsafe warning