您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

mcal_day_of_week

(PHP 4)

mcal_day_of_week — Returns the day of the week of the given date

Description

int mcal_day_of_week ( int $year , int $month , int $day )

mcal_day_of_week() returns the day of the week of the given date. Possible return values range from 0 for Sunday through 6 for Saturday.