Changed datezone function to BaseModel.php