date_get_weekday(date)

From ENIGMA
Revision as of 04:02, 29 April 2014 by RobertBColton (talk | contribs) (→‎Example Call)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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());