From: hemant Date: 2007-10-25T20:14:01+09:00 Subject: Re: Time.now On 10/25/07, hemant wrote: > On 10/25/07, Casimir wrote: > > What units does it output - with .to_f or .to_i? > > > > Doesn't seem to be milliseconds. I could be wrong. Ruby-doc dogged me. > > Google said Jack Ruby was writing letters to his brother Earl and > > suggested japanese. :D > > > > I yam confused. Whats a good reference for this? > > > Dunno, but ri on my machine says: > > for to_f: > Returns the value of _time_ as a floating point number of seconds > since epoch. > > for to_i: > Returns the value of _time_ as a floating point number of seconds > since epoch. > > Hope, that answers your question. > Oops my bad, I pasted the same thing twice. Sincere apologies, although i hope you get the point nonetheless. > > -- > Let them talk of their oriental summer climes of everlasting > conservatories; give me the privilege of making my own summer with my > own coals. > > http://gnufied.org > -- Let them talk of their oriental summer climes of everlasting conservatories; give me the privilege of making my own summer with my own coals. http://gnufied.org