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.
Date.valid_date?(2001,2,3) #=> true Date.valid_date?(2001,2,29) #=> false
See also jd and civil.
Please login to continue.