On Tue, 14 Nov 2006 15:11:56 -0500, Brad Fuller wrote:

> 
> 
> $prevminute = sprintf('%02s',  date("i")-1);

Or, $prevminute = str_pad(date("i")-1, 2, '0', STR_PAD_LEFT);

It's a little more code - don't ask me about the speed :)

Ivo

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to