Agreed, but to be clear, not on YOUR last day, but on the original TICKET'S last day.
To restate @FCDub's answer in a more precise way,
You can upgrade a ticket as LATE as close of business ON the same day that you USE the ticket's last "day."
Our Authorized Disney Vacation Planners are here to provide personalized, expert advice, answer every question, and uncover the best discounts.
Let Dreams Unlimited Travel take care of all the details, so you can sit back, relax, and enjoy a stress-free vacation.