Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 327 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 327 Bytes

momentjs-business

MomentJS extension for business days calculations (without iteration loops)

Installation

<script src="moment.js"></script>
<script src="momentjs-business.js"></script>

Usage

moment().businessAdd(7);
moment().businessDiff(moment().subtract(7, 'd'));