Hands-on task
This task is step 6 of the course “Dates and times in the terminal”
Compute the deadline date
The file /root/start.txt contains the project start date: 2024-01-15. The deadline is exactly 90 days after the start. Compute the deadline date and write it to /root/deadline.txt in the format YYYY-MM-DD.
Reference:date
What you'll practise:
- date
- relative dates
- date arithmetic
- date formatting