date_get_weekday(date)

From ENIGMA
Jump to navigation Jump to search

Description

Gets the current day of the week 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 day of the week of

Return Values

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

Example Call

// demonstrates getting the current day of the week
var weekday;
weekday = date_get_weekday(date_current_date());