This may be a stupid question, but I have been exploring the methods
of DateTime and Time and am unable to find anything that extracts just
the minute or the hour. Am I going to have to write my own functions
to do this?
Nevermind I just figured it out by creating a DateTime object:
d = DateTime.new
and then exploring all of its methods:
d.methods
the method for minute is min, i was using minute. hour is just hour.