Calculate endtime with given timestamp and duration

Hi, i've problems with ruby to calculate endtime from timestamp and given duration in seconds.

Is there a easy way to add a calculated endtime field?

Merci

There is an example of that here.