{YourDateTimeField} in
(
DateTime(Date({YourDateTimeStart}),CTime("06:00:00" to
DateTime(Date({YourDateTimeEnd}),CTime("21:00:00"
)
If the two dates are more than a day apart, they will extract records before 6am and after 9pm until the last day in the range.
Or do you mean:
Date({YourDateTimeField}) in
(Date({YourDateTimeStart}) to Date({YourDateTimeEnd})) and
CTime({YourDateTimeField}) in
(CTime({YourDateTimeStart}) to CTime({YourDateTimeEnd}))
which will cut off at every 6am and every 9pm in the range.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.