MySQL Forums
Forum List  »  Newbie

add seconds to current time help
Posted by: JOHN FARRUGIA
Date: May 12, 2005 03:32PM

I am trying to create a statment to add a given time in second to the current time like this:

update tags.triggers set next_interval=(addtime(curtime(),300)) where id=1;

This statment adds 3 minutes to the current time. How can I add 300 seconds to the current time?

Options: ReplyQuote


Subject
Written By
Posted
add seconds to current time help
May 12, 2005 03:32PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.