Date.valid_date?(year, month, mday[, start=Date::ITALY]) â bool
Class Public methods
Returns true if the given calendar date is valid, and false if not.
1 2 | Date.valid_date?( 2001 , 2 , 3 ) #=> true Date.valid_date?( 2001 , 2 , 29 ) #=> false |
See also jd and civil.
Please login to continue.