date_get_day_of_year

Returns the day of the year corresponding to the date.

Syntax:

GML Code Example

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:

GML Code Example

mydayyear = date_get_day_of_year(date_current_datetime());

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





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here