date_days_in_month(date)

From ENIGMA
Jump to navigation Jump to search

Description

Gets the number of days in the month of the given date-time value and returns the result.

Parameters

Parameter Data Type Description
date time_t date-time value to get the number of days in the month

Return Values

integer: Returns the number of days in the month of the date-time value.

Example Call

// demonstrates checking the number of days in the current month
var days;
days = date_days_in_month(date_current_date());