In the classic context, the birthday problem is solved assuming a discrete uniform probability distribution of births. The main purpose of this paper is to solve the birthday problem through an arbitrary discrete probability distribution and to prove that using discrete uniform distribution, probability of two or more people's birthday at the same date is underestimated.