date_get_day

Returns the day corresponding to the date.

Syntax:

date_get_day(date);


Argument Description
date The date to check.


Returns: Real


Description

This function returns the day (from 1 to 31) of the given datetime.


Example:

myday = date_get_day( date_current_datetime() );

This would set "myday" to the current day.


Back: Date And Time
Next: date_get_day_of_year
© Copyright YoYo Games Ltd. 2018 All Rights Reserved