Simple types / Date and time
Getting the current date
Conversion from a string
Converting to a string
Comparison of dates
Date initialization
Getting the year, month, day
Date changing
The interval between the dates
require
'date'
now1 = DateTime.
now
puts
"now1 is '
#{now1}
'"
now2 =
Time
.
now
puts
"now2 is '
#{now2}
'"