yday

d.yday â fixnum
Instance Public methods

Returns the day of the year (1-366).

Date.new(2001,2,3).yday           #=> 34
doc_ruby_on_rails
2015-04-02 16:48:44
Comments
Leave a Comment

Please login to continue.