date_get_week(date)

From ENIGMA
Jump to navigation Jump to search

Description

Gets the current week of the year of the given date-time value and returns it.

Parameters

Parameter Data Type Description
date time_t the date-time value to get the current week of the year of

Return Values

integer: Returns the week of the year of the date-time value.

Example Call

// demonstrates getting the current week
var week;
week = date_get_week(date_current_date());