|
[SOLVED] The number of days in a month
|
|
04-28-2010, 03:27 PM
Post: #1
|
|||
|
|||
|
[SOLVED] The number of days in a month
As Time Toady said
Quote:There's more than one way to do it I think that all of you know how to know the number of days in a month. Let me collect all known (at least for me) methods. Bombastic and verbose but fast Code: Date.prototype.isLeapYear = function()Shorter and longer Code: Date.prototype.getDaysInMonth = function ()Laconic but long almost as previous Code: Date.prototype.getDaysInMonth = function() |
|||
|
« Next Oldest | Next Newest »
|
| Forum Permissions |
| You cannot post new threads. You cannot post replies. You cannot post attachments. |
| HTML is turned off. MyCode is turned on. Smilies are turned on. [img] is turned on. |


Search
Member List
Calendar
Help


