ts-monorepo

Home > @whatsaaaa/utils > addDaysToDate

addDaysToDate() function

Add days to a date

Signature:

export declare function addDaysToDate(date: Date, numberOfDaysToAdd: number): Date;

Parameters

Parameter Type Description
date Date the date value to add days to
numberOfDaysToAdd number number of days to add

Returns:

Date