span
Span
Compute the timespan in terms of number of days (currently) between two dates.
Installation
- Clone the repository
- Enter into it:
cd span
- Install the
shard.yml
make install
- Build the source
make build
Usage
You can compute the number of days like so:
./bin/span --from 04-08-2022 --to 04-10-2022
There are 2 days between.
Note that dates must be in MM-DD-YYYY
format.
Development
Some future ideas:
- Configure the output value: days, weeks, months, et cetera.
- Configure the input format
- Read from CSV or perform multi time spans computations.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Repository
span
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- over 2 years ago
- April 10, 2022
License
MIT License
Links
Synced at
Wed, 06 Nov 2024 23:57:39 GMT
Languages