simply date detection