S
Srinivas Sa
How do i add two time stamps
Time stamps are in the form of HH:MMD: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?
Time stamps are in the form of HH:MMD: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?