date_get_month

Returns the month corresponding to the datetime.

Syntax:

date_get_month(date);


Argument Description
date The datetime to check.


Returns: Real


Description

This function returns the month of the given datetime value.


Example:

mymonth = date_get_month(date_current_datetime());

This would set mymonth to the current month.


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