The FMC works the TOD backwards, i.e from destination to Origin.
A STAR and Approach will have height/or speed restrictions plus forecast winds and the use of anti-ice and ISA Dev/ QNH will all contribute to where the TOD begins.
In reality we put in the expected arrival and Approach so it will give us a planned TOD.