Re: time and date function
| From: | Nick Davies | Date: | Tue, 06 Mar 2001 17:12:52 +0000 |
| Subject: | Re: time and date function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42777@lists.php.net to get a copy of this message | ||
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
>
>
>