Naivete Precedes Misrepresentation

    fat-date

    1.0.2 • Public • Published

    fat-date

    Utility to convert from date to FAT32 DateTime and vice versa. No dependencies.

    Info in forensicswiki.org/wiki/FAT.

    Installation

    $ npm i --save fat-date

    Usage

    From Date to Fat DateTime

    let fatDate = require('fat-date');
    let date = new Date('2013-07-13T06:13:50.000Z');
    let fDate = fatDate.fromDate(date);
    // fDate == 1122841017

    From Fat DateTime to Date

    let fatDate = require('fat-date');
    let fDate = 1122841017;
    let date = fatDate.fromFat(fDate);
    // date == 2013-07-13T06:13:50.000Z

    Keywords

    Install

    npm i fat-date

    DownloadsWeekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • desaroger