Time Travel Destination Calculator | Challenge

# Introduction In this challenge, we will help a time-traveling spaceship calculate the maximum date it can travel to. The spaceship estimates the number of days it can traverse based on its energy reserve. Our task is to implement a function that takes the current date and the estimated number of days as input and calculates the maximum past and future time points the spaceship can reach. We need to return the result in a specific date format.

|
60 : 00

Click the virtual machine below to start practicing