08.11.2012 Views

Designing Games with Game Maker - YoYo Games

Designing Games with Game Maker - YoYo Games

Designing Games with Game Maker - YoYo Games

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

date_current_date() Returns the date-time value that corresponds to the<br />

current date only (ignoring the time).<br />

date_current_time() Returns the date-time value that corresponds to the<br />

current time only (ignoring the date).<br />

date_create_datetime(year,month,day,hour,minute,second)<br />

Creates a date-time value corresponding to the indicated date and time.<br />

date_create_date(year,month,day) Creates a date-time value<br />

corresponding to the indicated date.<br />

date_create_time(hour,minute,second) Creates a date-time value<br />

corresponding to the indicated time.<br />

date_valid_datetime(year,month,day,hour,minute,second)<br />

Returns whether the indicated date and time are valid.<br />

date_valid_date(year,month,day) Returns whether the indicated date is<br />

valid.<br />

date_valid_time(hour,minute,second) Returns whether the indicated<br />

time is valid.<br />

date_inc_year(date,amount) Returns a new date that is amount years<br />

after the indicated date. amount must be an integer number.<br />

date_inc_month(date,amount) Returns a new date that is amount months<br />

after the indicated date. amount must be an integer number.<br />

date_inc_week(date,amount) Returns a new date that is amount weeks<br />

after the indicated date. amount must be an integer number.<br />

date_inc_day(date,amount) Returns a new date that is amount days after<br />

the indicated date. amount must be an integer number.<br />

date_inc_hour(date,amount) Returns a new date that is amount hours<br />

after the indicated date. amount must be an integer number.<br />

date_inc_minute(date,amount) Returns a new date that is amount<br />

minutes after the indicated date. amount must be an integer number.<br />

date_inc_second(date,amount) Returns a new date that is amount<br />

seconds after the indicated date. amount must be an integer number.<br />

date_get_year(date) Returns the year corresponding to the date.<br />

date_get_month(date) Returns the month corresponding to the date.<br />

date_get_week(date) Returns the week of the year corresponding to the<br />

date.<br />

date_get_day(date) Returns the day of the month corresponding to the<br />

date.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!