thursday?

time.thursday? â true or false
Instance Public methods

Returns true if time represents Thursday.

t = Time.local(1995, 12, 21)     #=> 1995-12-21 00:00:00 -0600
p t.thursday?                    #=> true
doc_ruby_on_rails
2015-05-17 21:34:36
Comments
Leave a Comment

Please login to continue.