Define range of date time field