A calculator for humanity’s peculiar conventions of time.


Keywords
d3, d3-module, time, interval, calendar
License
ISC
Install
npm install d3-time@1.0.7

Documentation

d3-time

This module implements a convenient API for calendar math, allowing to work with the irregularities of conventional time units, where most months have 31 days but some have 28, 29 or 30; most years have 365 days but leap years have 366; and with daylight saving, most days have 24 hours but some have 23 or 25.

Resources