Skip to content
instance method

Time#thursday?

() -> bool
thursday? → true or false

Returns true if self represents a Thursday, false otherwise:

Example
t = Time.utc(2000, 1, 6) # => 2000-01-06 00:00:00 UTC
t.thursday?              # => true

Related: Time#friday?, Time#saturday?, Time#sunday?.

See also #sunday? #to_a #subsec #to_date also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0