Flowdock
yday() public

Returns an integer representing the day of the year, 1..366.

t = Time.now   #=> 2007-11-19 08:32:31 -0600
t.yday         #=> 323
Show source
Register or log in to add new notes.