Hi Yogesh, first you need to know your calendar. let year = int(dec_date) let leap = int((int(year/4)-year/4)*2) let yearlen=366+leap