def get_survey_local_time_dayofweek(dt):
    """Get day of week when survey was taken."""
    try:
        weekday = dt.weekday()
        weekdays = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']
        return weekdays[weekday]
    except:
        return None