Skip to content

Basic CLI application to work out time durations from timestamp deltas.

License

Notifications You must be signed in to change notification settings

ppearson/Timecalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Timecalc

Timecalc is a simple CLI application to work out time deltas based off timestamps, reporting the result as a human readable duration.

There are currently two implementations (in separate subdirectories), the original C++ version, and a newer Rust version. Both currently have identical functionality.

Usage:

./timecalc 08:30-12:45

Returns:

Total time: 4 hours, 15 minutes.

Usage:

./timecalc 08:30-12:45,13:50-17:00

Returns:

Total time: 7 hours, 25 minutes.

You can also use the string 'now' as an alias for the current time.

Possible future work

  • Support for dates

About

Basic CLI application to work out time durations from timestamp deltas.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published