On Tue, 16 Jan 2001, Jon Haworth wrote:

> Hmmm. I did:
>
>       $timestamp = mktime(0,0,0,$month,$date,$year);
>       $day = date("1", $timestamp);
>
> and it returns 1, no matter what the contents of $month, $date and $year
> are. Did I miss something?
>

Yes, you're missing the fact that it's a lowercase 'L', and not in fact the
numeral '1'.

-- 
Ignacio Vazquez-Abrams  <[EMAIL PROTECTED]>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to