mcal_day_of_week

(PHP 3>= 3.0.13, PHP 4 >= 4.0b4)

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.