date_days_in_month

Returns the number of days in the month of the given datetime.

Syntax:

date_days_in_month(date);


Argument Description
date The date to use.


Returns: Real


Description

With this function you can get the number of days that the given month has, either 28, 29, 30 or 31.


Example:

days = date_days_in_month(date_current_datetime());

This would set "days" to the number of days in the current month.


Back: Date And Time
Next: date_days_in_year
© Copyright YoYo Games Ltd. 2019 All Rights Reserved