[PHP] time and date function

2001-03-06 Thread Augusto Cesar Castoldi
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

Re: [PHP] time and date function

2001-03-06 Thread Nick Davies
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