date_get_week

Returns the week corresponding to the datetime.

Syntax:

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:

myweek = date_get_week(date_current_datetime());

This would set myweek to the current week.


Back: Date And Time
Next: date_get_weekday
© Copyright YoYo Games Ltd. 2019 All Rights Reserved