From: KDr2 Date: 2006-11-26T16:35:17+09:00 Subject: Re: Timestamp Srinivas Sa writes: > My timestamps are HH:MM:SS,nnnn format.. I mentioned wrongly before... > > Srinivas Sa wrote: >> How do i add two time stamps >> >> Time stamps are in the form of HH:MM:DD:SS,nnnn >> >> Used Time.parse to convert to Time and tried add ts1 + ts2 but it failed >> saying no method. >> >> tried t1 + t1.to_i i am getting >> >> irb(main):013:0> p t1 + t2.to_i >> RangeError: time + 1164507831.000000 out of Time range >> from (irb):13:in `+' >> from (irb):13 >> >> can somebody help me out? So what do you want to get? eg,(the year 2006)+((the year 2007),you want to get (the year 4013)? -- For some reasons,my EMail had been changed to "kdr2[#]163.com" now... NO GNUS is Bad News. ------yours Killy Draw