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.

Example
View Source
Edit In Stackblitz  
Change Theme:

Installation

  1. Download and install the package:

    npm install --save @progress/kendo-date-math
  2. Once installed, individual functions can be imported and the Data Query component is ready to use.

    import { getDate, addDays } from '@progress/kendo-date-math';

Functionality and Features

In this article

Not finding the help you need?