Date Math Overview
The Date Math is a package for JavaScript Date manipulations.
The package exports numerous functions that support the performance of different date manipulation tasks. For example, adding and removing days or getting the week number.
Basic Usage
The following example demonstrates the Date Math library in action.
Installation
Download and install the package:
npm install --save @progress/kendo-date-math
Once installed, individual functions can be imported and the Data Query component is ready to use.
import { getDate, addDays } from '@progress/kendo-date-math';