Learn Ruby

Rietta's post on getting the current year in the Ruby programming language, a small example for Ruby learners.

03/13/2015

Get the Current Year in the Ruby programming language

Get the current year in Ruby using Time, Date, or DateTime, then compare benchmark results across these methods on both MRI Ruby 2.2 and JRuby 1.7.19.

Read More »