relative-day-utc
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

relative-day-utc

Fast computation of relative dates.

Installation

$ npm install relative-day-utc

or

<script src="https://cdn.jsdelivr.net/npm/relative-day-utc@1.2.1"></script>

Usage

const relativeDayUtc = require('relative-day-utc'); // or window.relativeDayUtc
let yesterday = relativeDayUtc(-1);

License

Copyright (c) 2017 - 2020 Martin Kolárik. Released under the MIT license.

/relative-day-utc/

    Package Sidebar

    Install

    npm i relative-day-utc

    Weekly Downloads

    23

    Version

    1.3.0

    License

    MIT

    Unpacked Size

    3.24 kB

    Total Files

    7

    Last publish

    Collaborators

    • martin-kolarik