I figured out how to calculate the total based on the current date
=(DAY(TODAY())*2), however I want this to stop calculating at the end of the month.