added invalid message for isDateTime api documentation