mixed jddayofweek ( int $julianday [, int $mode = CAL_DOW_DAYNO ] )
Returns the day of the week. Can return a string or an integer depending on the mode.
The gregorian weekday as either an integer or string.