How to add Seconds to current time to get a future date?

I am playing with Stripe API for checkout.

This API returns all the date as very large numeric value. On googling I found that this value is in seconds.

I want to add these seconds to current time to get the exact future date.

How can I do this in FF?

2 replies