Get unlimited public & private packages + team-based management with npm Teams.Learn more »

excel-date-to-js

1.0.2 • Public • Published

excel-date-to-js

CI Version Documentation Maintenance License: MIT

Description

Converts Excel date in integer format into JS date. Dates are stored as numbers in Excel and count the number of days since January 0, 1900 (1900 standard, for mac it is 1904, which means January 0, 1904 is the start date). Times are handled internally as numbers between 0 and 1.

Install

npm install -s excel-date-to-js

Usage

const { getJsDateFromExcel } = require("excel-date-to-js");
getJsDateFromExcel("42510");
// 2016-05-20T00:00:00.000Z

Inspired by...

Install

npm i excel-date-to-js

DownloadsWeekly Downloads

376

Version

1.0.2

License

MIT

Unpacked Size

6.9 kB

Total Files

9

Last publish

Collaborators

  • avatar