Build filterByDateTime() in Model

This is for filter the list according to Date and Time function. It is
currently filtering based on startDateTime.
Modification for filterByDateTime()