The date command provides an option to display the future dates as described. Let’s understand this with some examples:

Display current date: Simply type “date” to display the current date and time of Thu Sep 22 03:58:36 UTC 2022 Date after 10 days: What will be the date after 10 days? The below command will show you the desired results:date -d “+10 days” Sun Oct 2 03:58:48 UTC 2022 Date after 3 months: Similarly to find the date after 3 months, type:date -d “+3 months " Thu Dec 22 03:58:58 UTC 2022 Date after 1 year: What will be the date just after 1 year?date -d “+1 year” Fri Sep 22 03:59:05 UTC 2023

These commands are helpful to find the day, month date in the future after a specific duration. We can also format the date on display. Here are a few more examples to view future dates and times.