mcal_day_of_year

Returns the day of the year of the given date (PHP 3 >= 3.0.13, PHP 4, PECL)
int mcal_day_of_year ( int year, int month, int day )

mcal_day_of_year() returns the day of the year of the given date.