date_get_day_of_year( date );
Argument | Description |
---|---|
date | The date to check. |
Returns: Real
This function returns the day (from 1 to 366) within the year of
the given datetime.
mydayyear = date_get_day_of_year(date_current_datetime());
This would set mydayyear to the current day of the year.