This may sound really weird...
Consider the following Cauchy problem:
Find $y(t)$ for all $t \geq 0$ such that: $$\begin{cases} \dot{y} & = f(t, y)\\ y(T) &= Y \end{cases},$$ for some $T > 0$.
I know that, under suitable conditions, this Cauchy problem has exactly one solution.
Anyway, all numerical tools that I know are meant (or I believe so!) to solve problems like:
Find $y(t)$ for all $t \geq 0$ such that: $$\begin{cases} \dot{y} & = f(t, y)\\ y(0) &= Y \end{cases},$$
How can I solve the first problem?

You can follow the suggestion by @LutzLehmann or you can just perform a change of variables, $\tau = T - t$ and get something like $$ \begin{cases}y'(\tau) = - f(\tau, y(\tau)) \\[0.7em] y(0)= Y \end{cases}. $$