(dob.to_time + 10**9).to_date
@clupasq thinks this looks great
Simplified after seeing other submissions and realising I don't need some of the fluff like Time.at and to_i. Also removed return statement.
You're not logged in right now. Please login via GitHub to comment