addDays

Function

Add number of days to a given date

  • addDays(date: string, numOfDays: number) : string

Parameters

Parameter Type Default Notes
date Required string
numOfDays Required number

Returns

date string with numOfDays added to the given date

string

Function defined in common/src/util.ts:369