date_get_week(date);
Argument | Description |
---|---|
date | The datetime to check. |
Returns: Real
This function returns the week of the given datetime value
within the year.
myweek = date_get_week(date_current_datetime());
This would set myweek to the current week.