use dateTime to account for interval