basic date recognition