codice:
if isdate(Text1.Text) then
   'è una data
end if