Purpose
Check that a string is a valid date

Solution

// sample value
Set
V[mydate] "29.02.2018"

CheckDate "&V[mydate]"
if not Q[ok]
  Message "E: &V[mydate] is not a valid date" -statusline    
endif
 

Components
InputAssistant