Returns the weekday corresponding to the datetime.


GML Code Example


Argument Description
date The date to check.

Returns: Real


This function returns the week day value of the given datetime. This will be a value from 0 to 6.


GML Code Example

myweekday = date_get_weekday(date_current_datetime());

This would set "myweekday" to the current weekday.

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