month-number v9001.0.7
Month Number
Do you struggle to understand JavaScript because Date.prototype.getMonth()
returns a number between 0 and 11, but it would totally make more sense if it ranged from 1 to 12 instead? Well, you're not alone. Stop creating bugs and start creating profit TODAY, with month-number!
NOW with support for getting the fifth month number!
Usage
const {getMonthNumber, getFifthMonthNumber} = require("month-number");
const currentMonthNumOneBased = getMonthNumber();
const fifthMonthNumOneBased = getFifthMonthNumber();
Disclaimer
You, the user, are solely responsible for your consumption of this package, or lack thereof. The producers and maintainers of the month-number NPM package accept no responsibility for how it may be used or not used. If you use it in a way that hurts you, it's your own problem. If you don't use it, it's your own problem. It's not our fault. This may be considered by some to be a hefty, complicated piece of software, and also it might not work. Use at your own risk. We repeat: use at your own risk.
Donations
Our hard work can only continue with your generous donations.
Please consider donating to a charitable cause near to your heart. Unless you're a jerk. Then maybe consider donating to a charitable cause near to someone else's heart.
License
month-number is MIT licensed.