Re: [PHP] Can't get accurate day of year

2002-01-06 Thread Hugh Danaher
IL PROTECTED]> Sent: Saturday, January 05, 2002 11:43 PM Subject: Re: [PHP] Can't get accurate day of year -- 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]

[PHP] Can't get accurate day of year

2002-01-05 Thread Hugh Danaher
Hello All and Happy New Year. I have a simple routine to get the year, date and the day of year. Year and date come out correctly but the day of year is one less than the date. It being January, it's easy to see the error. The only thing I can figure, is that the date(z) function gets a fra