Re: [PHP-DB] mktime to subtract minutes (was Time without seconds )

2003-06-18 Thread Jason Wong
On Wednesday 18 June 2003 17:21, Lisi wrote: > That's what I tried, but when the minutes are less than 40 it doesn't work > I guess because you get negative. Actually, I'm not sure it even workied > for the one that was more than 40. Is there a way to do taking into account > hours as well without

RE: [PHP-DB] mktime to subtract minutes (was Time without seconds )

2003-06-18 Thread Lisi
That's what I tried, but when the minutes are less than 40 it doesn't work I guess because you get negative. Actually, I'm not sure it even workied for the one that was more than 40. Is there a way to do taking into account hours as well without having to code by hand "if minutes < 40 " ... etc.