date_get_week

Returns the week corresponding to the datetime.

Syntax:

GML Code Example

date_get_week(date);


Argument Description
date The datetime to check.


Returns: Real


Description

This function returns the week of the given datetime value within the year.


Example:

GML Code Example

myweek = date_get_week(date_current_datetime());

This would set myweek to the current week.





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