wday

d.wday â fixnum
Instance Public methods

Returns the day of week (0-6, Sunday is zero).

Date.new(2001,2,3).wday           #=> 6
doc_ruby_on_rails
2015-04-02 16:35:03
Comments
Leave a Comment

Please login to continue.