Would you be okay drinking milk that is few days past its expiration date?
I couldn’t understand how the past is used in this sentence . Is it adverb or preposition?
Past here is used as a preposition, and means "beyond in time; later than."
So in the sentence, it would a few days after the expiration date of the milk.