Subj : schedule / timeslot building algorithm To : comp.programming From : mike Date : Fri Sep 23 2005 12:53 pm here's my problem, possibly someone can point me in the right direction as i've been thinking about this for some time. i have a ride that operates every 'i' intervals (minutes) and can hold 'c' number of people per interval.. now say i have a schedule that operates from Jan 1 05 through to Dec 31 05. different ranges of dates within the schedule can have different hours of operation in that schedule. ie from jan 1 to june 1 hours are 8:30 - 17:00, and from june 2 to aug 1 9:00 - 13:00.. i'd need to keep in mind that once the schedule is built i'd have to provision for editing a batch of days or individual daily schedules. anyone know of any code examples or ideas that might be able to help me out.. thanks in advance mike .