Entries from 2023-03-28 to 1 day
Date.prototype.getMonth() 返却値は数値。そして0始まりとなるので、JanuaryのDate型が渡された場合は 0が返されるので注意. const moonLanding = new Date('January 20, 69 00:20:18'); console.log(moonLanding.getMonth()); // (January gives 0) develo…
Date.prototype.getMonth() 返却値は数値。そして0始まりとなるので、JanuaryのDate型が渡された場合は 0が返されるので注意. const moonLanding = new Date('January 20, 69 00:20:18'); console.log(moonLanding.getMonth()); // (January gives 0) develo…