From: Brian Candler Date: 2003-07-01T19:35:14+09:00 Subject: Re: Millisecond in time. On Tue, Jul 01, 2003 at 07:28:48PM +0900, Anders Borch wrote: > > It also takes a number of microseconds as a second argument, so you > > could also do > > > > time = Time.at(ms / 1000, (ms % 1000) * 1000) > > wouldn't that be > > time = Time.at(ms / 1000, ms % 1000) > > '%' returns the fraction part *as an integer* iirc but 1 millisecond is 1000 microseconds.