static DateTime addDaysToDateTime(DateTime date, int days) { var data = new DateTime(date.year, date.month, date.day + days, date.hour, date.minute, date.second); return data; }