https://github.com/spencerwi/now.ml
A quick-and-simple tool for figuring out relative times/dates
https://github.com/spencerwi/now.ml
Last synced: 9 months ago
JSON representation
A quick-and-simple tool for figuring out relative times/dates
- Host: GitHub
- URL: https://github.com/spencerwi/now.ml
- Owner: spencerwi
- License: mit
- Created: 2017-01-23T14:21:11.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-23T14:25:10.000Z (almost 9 years ago)
- Last Synced: 2025-04-17T14:39:06.059Z (9 months ago)
- Language: OCaml
- Size: 1.95 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - now.ml - and-simple tool for figuring out relative times/dates | spencerwi | 4 | (OCaml)
README
# now.ml
A quick-and-simple tool for figuring out relative times/dates
## Usage
```
now (plus|minus) n (years|months|days|hours|minutes|seconds)
```
Examples:
```
$ now minus 1 hour
$ now minus 5 days
```
## Installation
Drop the `now` binary somewhere in your `$PATH`
## Building
1. Install opam, ocaml, and ocamlbuild
2. Run `make`.