add IsNull function for dateTimeVar