Merge afade408aa
into 08b771c863
commit
fbe9466ca1
@ -0,0 +1,26 @@
|
||||
# Date Elapsed
|
||||
|
||||
**Tier:** 1-Beginner
|
||||
|
||||
A common question that people would ask is how many days have elapsed since a certain date. Despite this question being straightforward, the calculation is actually quite tricky; and doing it mentally or even on paper is time-draining.
|
||||
|
||||
## User Stories
|
||||
|
||||
- [ ] User can choose a start date
|
||||
- [ ] User can choose an end date
|
||||
|
||||
## Bonus features
|
||||
|
||||
- [ ] User can optionally choose if they want the first (or last) date to be counted as a day itself - in some calculations, we surprisingly want this feature.
|
||||
- [ ] User can opt to include/exclude weekends.
|
||||
- [ ] User can write the program as a GUI or CLI app.
|
||||
|
||||
## Useful links and resources
|
||||
|
||||
- [How to work with dates and time with Python](https://opensource.com/article/17/5/understanding-datetime-python-primer)
|
||||
|
||||
## Example projects
|
||||
|
||||
- [timeanddate.com](https://www.timeanddate.com/date/duration.html)
|
||||
- [theCalculatorsite](https://www.thecalculatorsite.com/time/days-between-dates.php)
|
||||
- [Python implementation example (with code)](https://github.com/salfaris/utilities/blob/main/date-since.py)
|
Loading…
Reference in new issue