epoch-to-human-readable
v1.0.4
Published
Convert unix epoch into a human readable format
Downloads
5
Readme
epoch-to-human-readable
A simple lightweight library for converting unix epoch timestamps into various readable formats
Install
npm i epoch-to-human-readable
or
yarn add epoch-to-human-readable
Example
import convertEpoch from 'epoch-to-human-readable'
convertEpoch(1451538000) // "12/31/15 12:00 AM EST"