1.1.0 • Published 3 years ago
unix-timestamp-converter v1.1.0
UNIX Code Converter
This pacakage converts UNIX_VALUE into a readable date
Installation
npm i unix-timestamp-converter
Usage
const time = require('unix-timestamp-converter');
time.UNIX_CODE();
Example
const time = require('unix-timestamp-converter');
const readableDate = time.UNIX_CODE(1509451524);
console.log(readableDate);
OUTPUT: 31 Oct 2017