What's the best way to add to time()?

For example: time() + 5 will return 5, not the current unix timestamp with 5 added to it. Any ideas? Thanks

closed as off-topic by Jacob Peattie, Dave Romsey, bueltge, rudtek, Dan Gayle Dec 17 '18 at 21:58

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.


Oh you have to wrap in quotes.

(time() + 5)

Works. Sigh

Not the answer you're looking for? Browse other questions tagged or ask your own question.