Your Sequel code should look something like this
Dim strSQL as string
strSQL = _
"SELECT MyDates.* " & _
"FROM YearlyDates " & _
"WHERE MyDates " & _
"BETWEEN DateOne AND DateTwo"
You might have to monkey with setting up the date format: e.g. cDate("3/1/2009")
But you also need to establish an exact day for a reference point for your 6:00 AM and 6:00 PM. Which means you need a Month, a Day, and Year to make this work.
Don't know which type of Database you're using, but the above is more or less what you're looking for in a SQL string.
The DatePicker Value property is the Value you're probably looking to use in your program.
Dim DateOne as Date, DateTwo as Date
DateOne = DTPicker1.Value
DateTwo = DTPicker2.Value
That should give you a Date Value you can use.
Hank