An open API service indexing awesome lists of open source software.

https://github.com/heapwolf/date-at

easily create relative dates. ie: date('+1day')
https://github.com/heapwolf/date-at

Last synced: about 1 year ago
JSON representation

easily create relative dates. ie: date('+1day')

Awesome Lists containing this project

README

          

# SYNOPSIS
Easily create relative dates.

# BUILD
[![Build Status](https://travis-ci.org/0x00A/date-at.svg?branch=master)](https://travis-ci.org/0x00A/date-at)

# USAGE

```js
var date = require('date-at')
console.log(date('+1day'))
```

## UNITS

### YEARS
`years`, `year`, `yr`, `Y`

### MONTHS
`months`, `month`, `mo`, `M`

### WEEKS
`weeks`, `week`, `w`

### DAYS
`days`, `day`, `d`

### HOURS
`hours`, `hour`, `h`

### MINUTES
`minutes`, `minute`, `min`, `m`

### SECONDS
`seconds`, `second`, `sec`, `s`

### MILLISECONDS
`milliseconds`, `millisecond`, `ms`