RE: [PHP] Problems with date() - what have I missed?

2001-02-13 Thread Jon Haworth
s to the screen Cheers Jon -Original Message- From: Jon Haworth [mailto:[EMAIL PROTECTED]] Sent: 13 February 2001 14:38 To: '[EMAIL PROTECTED]' Subject: [PHP] Problems with date() - what have I missed? Hi list. I have a strange problem with a PHP script (WinNT/Apache/PHP4/

[PHP] Problems with date() - what have I missed?

2001-02-13 Thread Jon Haworth
Hi list. I have a strange problem with a PHP script (WinNT/Apache/PHP4/MySQL). The line of code $dayname = date("D", mktime(0,0,0,$cmonth,$eventdate,$cyear)); should, if I understand it correctly, fill the variable $dayname with the three-letter abbreviation of the day of the week for