Add 4yrs to the 'from' date. It doesn't need to be exact. For my course, it shows 2.5yrs duration in my LoA, and I calculated the 'to' date in accordance with that, even though a student can complete the program in 16 months as well. You can write, 31st December 2023 or 1st January 2024.