wednesday?

time.wednesday? â true or false
Instance Public methods

Returns true if time represents Wednesday.

t = Time.local(1993, 2, 24)      #=> 1993-02-24 00:00:00 -0600
p t.wednesday?                   #=> true
doc_ruby_on_rails
2015-05-17 23:02:06
Comments
Leave a Comment

Please login to continue.