tuesday?

time.tuesday? â true or false
Instance Public methods

Returns true if time represents Tuesday.

t = Time.local(1991, 2, 19)      #=> 1991-02-19 00:00:00 -0600
p t.tuesday?                     #=> true
doc_ruby_on_rails
2015-05-17 22:21:10
Comments
Leave a Comment

Please login to continue.