yday

time.yday â fixnum
Instance Public methods

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

t = Time.now   #=> 2007-11-19 08:32:31 -0600
t.yday         #=> 323
doc_ruby_on_rails
2015-05-17 23:14:47
Comments
Leave a Comment

Please login to continue.