Flowdock
wday() public

Returns an integer representing the day of the week, 0..6, with Sunday == 0.

t = Time.now   #=> Wed Apr 09 08:56:04 CDT 2003
t.wday         #=> 3
Show source
Register or log in to add new notes.