current_day

Returns the current day.

Syntax:

current_day;


Returns: Real


Description

This read only variable will return the day as a value from 1 to 31, depending on the month.


Example:

draw_text(32, 32, "Today is " + string(current_day) + "/" + string (current_month) + "/" + string(current_year) +".");

The above code will draw the day, month and year.


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