cestmonvoyage.wordpress.com
Date & Time in Ruby
Running the Ruby on Rails in my Command with the following: puts time.year # => Year of the date puts time.month # => Month of the date (1 to 12) puts time.day # => Day of the date (1 to 3…