date alert working