@swenkerorg/dicta-ratione-ex
v1.1.22
Published
A tool for showing timestamp.
Downloads
1,272
Maintainers
Keywords
Readme
@swenkerorg/dicta-ratione-ex
A tool for showing timestamp.
Install
$ npm install @swenkerorg/dicta-ratione-ex -g
Usage
For command line
Usage: tsn [options]
Options:
-d, --date_string the date string
-f, --format the date string format, defined see
http://momentjs.com/docs/#/parsing/string-format/
-s, --show_date_string show date string [default: false]
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
Examples:
tsn
tsn -d 20161121
tsn -d 2016-11-21 -f YYYY-MM-DD
For Node API
let tsng = require('@swenkerorg/dicta-ratione-ex');
let ts = tsng(options);
options default:
{
date_string: THE_DATE_NOW,
format: '',
show_date_string: false
}