> >IF TTOC(tDateTime,2) = "12:00:00 AM" > WAIT WIND "Hey! No time entered!" > RETURN .F. >ENDIF >RETURN .T.That's cute :). Just to prevent any settings induce possible erroneous behavior, I think this minor correction would keep us away from Set Hours and Set Seconds:
IF DtoT(Ttod(tDateTime)) = tDateTime WAIT WIND "Hey! No time entered! (or is it really exactly midnight?)" RETURN .F. ENDIF RETURN .T.