Yea!
Aaaannddd, for Bad Ending mobile version:
Timing ends on touching the final "Exit" door in the Happiest Day minigame.
For Good Ending mobile version:
Timing ends on giving the cake to the Golden Freddy child in the Happiest Day minigame.