//This function is meant for general conversions only. //Converting the months between two known date ranges may cause odd resultsprivateintConvertDaysToMonths(double days){// Divide by this constant to convert days to months.constdouble daysToMonths =30.4368499;return Convert.ToInt32(Math.Floor(days / daysToMonths));}