since 1999

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.