Since 1999

Learn Ruby Category

03/13/2015

Get the Current Year in the Ruby programming language

'Time.new.year' gets the current year in Ruby, but there are other options in the standard library.

Read More »