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'
victoryDate = Date.
new
(
1945
,
5
,
9
)
puts
"victoryDate is '
#{victoryDate}
'"