From: Chris Gunnels Date: 2010-09-16T09:03:23+09:00 Subject: Re: Get the beginning of the hour and the end of the hour Xeno Campanoli / Eskimo North and Gmail wrote: > On 10-09-15 02:47 PM, Chris Gunnels wrote: >> >> Thanks > > Time.local instantiation method? > > t = Time.now > bt = Time.local(t.year,t.mon,t.day,t.hour,0,0) > et = Time.local(t.year,t.mon,t.day.d.hour,59,0) > > xc awesome...thats what I wanted -- Posted via http://www.ruby-forum.com/.