saturday?

time.saturday? â true or false
Instance Public methods

Returns true if time represents Saturday.

t = Time.local(2006, 6, 10)      #=> 2006-06-10 00:00:00 -0500
t.saturday?                      #=> true
doc_ruby_on_rails
2015-05-17 21:10:48
Comments
Leave a Comment

Please login to continue.