Re: add seconds to current time help
JOHN FARRUGIA wrote:
> This statment adds 3 minutes to the current time. How can I add 300 seconds to the current time?
Since 300 seconds == 5 minutes:
SELECT addtime(curtime(), 500);
Or if you insist on using 300:
SELECT addtime(curtime(), sec_to_time(300));
--
felix
Please use
BBCode to format your messages in this forum.
Subject
Written By
Posted
Re: add seconds to current time help
May 12, 2005 04:11PM
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.