Set time part of DateTime in ruby

Viewed 83837

Say I have a datetime object eg DateTime.now. I want to set hours and minutes to 0 (midnight). How can I do that?

4 Answers
Related