Thanks Kumar, I appreciate it and no there was no reason I was using to_f over to_i other than inexperience. Thanks again. R.. Kumar 1.9.1 OSX wrote: > John Crichton wrote: > >> @init_time = Time.now.to_f >> @twomin = @init_time + 120 > >> Thanks > > Is there any specific reason you are doing to_f. You can use to_i to get > seconds since epoch too. > > You can also just say: > > Time.now + 120 > > This page might help you: > http://www.tutorialspoint.com/ruby/ruby_date_time.htm -- Posted via http://www.ruby-forum.com/.