Noob DateTime question

That would work, and you can also use the hour, min, sec methods in the time class if you need them separately. Class: Time (Ruby 3.1.2)

Mike Rowlands wrote: