> -----Original Message-----
> From: Johnson, Kirk [mailto:[EMAIL PROTECTED]]
> Sent: 02 January 2003 23:29
> 
> The month behaves the same: both '08' and '09' are treated as zero by
> mktime().

A leading 0 on a number denotes it as octal.  08 and 09 are not valid octal
numbers.  PHP is interpreting as much of the number as it can (i.e. the
leading 0) and ignoring the invalid part.  This gives you your zero results.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

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

Reply via email to