Created
September 1, 2018 07:03
【Node.js】Date 型を簡単に操作できる date-utils を使ってみる ref: https://daiki-sekiguchi.com/2018/08/30/nodejs-date-utils/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// return 31 | |
console.log(Date.getDaysInMonth(2018, 8 + 1)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment