I have to set my current date as a date in 2022 in the docker, for testing my application.I got the commands for changing the timezone. But not able to change the current date to a future date. How can we do this in docker?
Changing a timezone is as simple as applying an offset to the current time.
Though chaning the date is entirely different. I am afraid you will need to change the date on the host.
Then how can I test such a scenario in docker?