date_get_day_of_year

Returns the day of the year corresponding to the date.

Syntax:

date_get_day_of_year( date );


Argument Description
date The date to check.


Returns: Real


Description

This function returns the day (from 1 to 366) within the year of the given datetime.


Example:

mydayyear = date_get_day_of_year(date_current_datetime());

This would set mydayyear to the current day of the year.


Back: Date And Time
Next: date_get_hour
© Copyright YoYo Games Ltd. 2018 All Rights Reserved