Just convert the time to unixtime and - 5*60 (5 mins).
On Tue, 6 Mar 2001, Augusto Cesar Castoldi wrote:
>
> Can I do any "subtraction" with times and/or dates on php or mysql?
>
> I have two times (HH:MM:SS). And I want to know if there is a diference of
> 5 min between the times.
>
> Is there any function that do this? Or I have to program this?
>
> regards,
>
> Augusto Cesar Castoldi
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]