date-between-teamjw

this is date util between dates for node js by teamjw

Usage no npm install needed!

<script type="module">
  import dateBetweenTeamjw from 'https://cdn.skypack.dev/date-between-teamjw';
</script>

README

Node Date Between Util Project

Summary

This is just designed to help to handle date between start date and end date.

Date List Between StartDate and EndDate Util

This module is handle getting date list between startDate and endDate.

const betweenDateUtil = require('./index').BetweenDateUtil;

## getBetweenDates (startDate, endDate)
## -> This function is get dates between start date and end date except of Saturday and Sunday
console.log(betweenDateUtil.getAllDateListBetweenDates('2020-10-01', '2020-10-10'));


Date List Between StartDate and EndDate Except Of Working Date

This module is handle getting date list between startDate and endDate except of working date.

const betweenDateUtil = require('./index').BetweenDateUtil;

## getBetweenDates (startDate, endDate)
## -> This function is get dates between start date and end date except of Saturday and Sunday
console.log(betweenDateUtil.getWorkingDateListBetweenDates('2020-10-01', '2020-10-10'));