Day: January 14, 2007
-
Ruby and Date classes
I’d seen this somewhere before, but thought I’d benchmark it to see if it was true. Ruby has 3 classes for doing dates. There is Date, DateTime and Time classes. In languages like C# and PHP, the equivalent DateTime class is the one that is generally utilized to do date/time manipulations. However, in Ruby, DateTime…