Home > @whatsaaaa/utils > addDaysToDate
Add days to a date
Signature:
export declare function addDaysToDate(date: Date, numberOfDaysToAdd: number): Date;
Parameter | Type | Description |
---|---|---|
date | Date | the date value to add days to |
numberOfDaysToAdd | number | number of days to add |
Returns:
Date