friday?

time.friday? â true or false
Instance Public methods

Returns true if time represents Friday.

t = Time.local(1987, 12, 18)     #=> 1987-12-18 00:00:00 -0600
t.friday?                        #=> true
doc_ruby_on_rails
2015-05-17 19:14:55
Comments
Leave a Comment

Please login to continue.