Added get_day_of_week method

This method returns the weekday.