final-working-day

1.0.3 • Public • Published

final-working-day Build Status

Get final working day of the month

Install

$ npm install --save final-working-day

Usage

const finalWorkingDay = require('final-working-day');
 
finalWorkingDay();
//=> 2016-08-30T22:00:00.000Z - Date object
 
finalWorkingDay(2016, 12);
//=> 2016-12-29T23:00:00.000Z - Date object

API

finalWorkingDay(year, month)

Returns the final business working day of that month

year

Type: number Default: new Date().getFullYear()

Specify a year.

month

Type: number
Default: new Date().getMonth()

Specify a month

License

MIT © Johnie Hjelm

Readme

Keywords

Package Sidebar

Install

npm i final-working-day

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • johnie