zourui`s js tools
npm install zrjslib
#Installation ``sh $ npm i zrjslib --save ` In Node.js: `js const timeDiff = getDateDiff('2018-10-11 05:36:10') ` `js const timeDiff = getDateDiff('2018-10-11 05:36:10') ``
sh $ npm i zrjslib --save
In Node.js:
js const timeDiff = getDateDiff('2018-10-11 05:36:10')