Surely if you could see the future, you'd change it and it would no longer be the future. So the whole power is pointless.
The OP's question just said that you'd know when, not how.On the contrary, that's the scenario in which the power is most useful because it would save your life.
The usual scenario is that you can't do anything to stop it happening. Which requires the assumption that nobody can do anything about anything, ever. That everything in the universe, including all of us, is just a sim being run by some higher power. That we don't have any minds at all, we're just programmed with the delusion that we do. Even then, it's a rather silly idea. Say, for example, you know that you'll be killed in a freak accident in a specific location in Central Park, New York at 14:39 on 14/08/2027 when a dead bird falls out of the sky and hits you in exactly the wrong way. Would you willingly go there and be killed in that way?
There are pros and cons to both options. A lot will depend on whether you think you're living your best life now. If you think you are, you'd have little reason to choose to know the date of your death. It could only lead to anxiety and depression.
If you think you've got nothing to lose, and perhaps might start living a better life if you knew you had a short time left, you might choose to know (the date).
Personally I don't think I would want to know.