Pasted
Archive
days_in_month
vedranvinko
|
PRO
|
06/26/15 06:27:46 PM UTC
|
0 ⭐
|
746 👁️
|
Never ⏰
|
[]
Ruby
|
70 B
|
None
|
0 👍
/
0 👎
Raw
Download
Clone
Embed
Print
View
Choose
Raw
Download
Clone
Embed
Print
View
def days_in_month(m,y) require 'date' Date.new(y,m,-1).day end
Comments
Comments