bttf (formerly known as biff) is a command-line utility for working with dates, times, durations, and time zones from the shell.
It lets you carry out datetime arithmetic, parse human-friendly temporal expressions, format timestamps in different representations, and handle common command-line time workflows such as calculating spans, generating recurring datetimes, and transforming timestamps in logs.
This is free and open source software.
Key Features
- Generates sequences of datetimes using RFC 5545 recurrence rules.
- Performs calendar and absolute duration arithmetic safely across daylight saving time boundaries.
- Uses the IANA time zone database for timezone-aware conversions.
- Tags arbitrary JSON lines data with datetimes, which is useful for reformatting or localizing log timestamps.
- Compares and sorts datetimes.
Website: github.com/BurntSushi/bttf
Support:
Developer: Andrew Gallant
License: MIT License or The Unlicense

bttf is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| Alternatives to date | |
|---|---|
| datemath | Date and time math utility |
| rdate | Retrieve date and time from other machines |
| qtime | Clock coded in Rust |
| hodie | The classic Latin replacement for date |
| bttf | datetime arithmetic, parsing, formatting |
| dateutils | Collection of command line utilities |
| dtg | date/time CLI utility and library |
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.