It usually contains significant amounts of milk protein, which contribute to flavor but spoil about as quickly as milk does. Washing the butter thoroughly until well after the water is clear will improve storage time, as will salting the butter and thoroughly drying it.