A method for determining a shelf life of milk, comprising: continuously normalizing a storage time at a current temperature to a storage time at a standard temperature, and accumulating the storage time; and comparing the accumulated storage time at the standard temperature with a shelf life at the standard temperature, so as to determine whether the milk is within the shelf life. A sampling monitoring period and a sampling monitoring resolution are appropriately configured, such that during the period, changes in conductivity or a related parameter caused by changes in the milk temperature can be detected, and changes in conductivity or the related parameter caused by changes in milk quality can be ignored. The current temperature is the milk temperature corresponding to the sum of initial conductivity of the milk and cumulative conductivity increments, and the conductivity increment is the change in conductivity recorded in a sampling period. The current temperature is the milk temperature corresponding to