- Preparing search index...
- The search index is not available
atomic-fns
- subDuration(date: string | number | Date, duration: number | TDuration | Duration, exact?: boolean): Date
-
Parameters
-
date: string | number | Date
-
-
exact: boolean = false
Returns Date
Subtract the specified years, months, weeks, days, hours, minutes and seconds from the given date.
Returns