export function addDays(date: Date, days: number): Date { var result = new Date(date); result.setDate(result.getDate() + days); return result; }