method

yday

v1_8_7_72 - Show latest stable - Class: Time
yday()
public

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

   t = Time.now   #=> Wed Apr 09 08:56:04 CDT 2003
   t.yday         #=> 99