Get the number of days in a fixed month

new Date(,, 0).getDate()

Guess you like

Origin blog.csdn.net/men_gqi/article/details/113501086