date_get_weekday

返回与日期相对应的星期

语法:

date_get_weekday(date);


参数 描述
date The date to check.


返回: Real(实数)


描述

This function returns the week day value of the given datetime. This will be a value from 0 to 6.


例如:

myweekday = date_get_weekday(date_current_datetime());

This would set "myweekday" to the current weekday.


上一页: Date And Time
下一页: date_get_year
© Copyright YoYo Games Ltd. 2018 All Rights Reserved