Shortdate
Get short date. For browser and node.
Install
npm i shortdate
How to use?
shortdate
uses arguments:
date
(optional)options
(optional):sep
- separatororder
- "big", "middle", "little" (endian types);
var shortdate = ; ;// returns'2015.01.08' ;// returns'2001.09.09' ;// returns'2016/02/20' ;// returns'20.02.2016'
License
MIT