It depends on the herb species. As a general rule of thumb, full-sun herbs need at least 6 hours of direct sunlight, while partial-sun herbs need 3-6 hours.