Variables to validTimeState should has to be date or utcDateTime. If range is specified both of the arguments should be either ...