date_get_day(date)

From ENIGMA
Jump to navigation Jump to search

Description

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

Return Values

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

Example Call

// demonstrates getting the current day
var day;
day = date_get_day(date_current_date());