Task: Calculate the Difference in Days Between Two Dates
Task: Calculate the Difference in Days Between Two Dates: a task in Terminal-Lego-15k (Harbor dataset). Write a Bash script that calculates the difference in days between two given dates. The script should be able to handle dates in the format YYYY-DD-MM (year-day-month) and output the absolute…
The task
Write a Bash script that calculates the difference in days between two given dates. The script should be able to handle dates in the format `YYYY-DD-MM` (year-day-month) and output the absolute difference in days.
Part of PrimeIntellect/Terminal-Lego-15k.