transformer.js-date-to-unix-time

0.1.1 • Public • Published

transformer.js-date-to-unix-time

Transformer conversion: js-date to unix-time

This module is a transformer conversion, published on npm. Read more about transformer at:

Usage

Use this module through transformer.

Javascript

var transformer = require('dat-transformer');
var tJsDateToUnixTime = transformer('js-date', 'unix-time');
tJsDateToUnixTime(new Date("2014-05-07T01:10:45.000Z")); //  1399425045
 

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i transformer.js-date-to-unix-time

    Weekly Downloads

    2

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • jbenet