I brought eggs from the market, and it says best before 20 days from the date of packing. Say my egg box was packed on 29/July/2020. How do I add days to date using Linux CLI? I want to find out date 29/July/2020 + 20days using the CLI, and how do I do it?

We use the date command  to display the current date and time on Linux or Unix-like operating systems. Similarly, you can set the date and time using the date command on Linux . Let us see how to use the date command to add days to a given date/period.

#linux #date

How to add days to date and get new date on Linux
8.55 GEEK