Selection of utilities

bttf – datetime arithmetic, parsing, formatting and more

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

biff commands

bttf is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Alternatives to date
datemathDate and time math utility
rdateRetrieve date and time from other machines
qtimeClock coded in Rust
hodieThe classic Latin replacement for date
bttfdatetime arithmetic, parsing, formatting
dateutilsCollection of command line utilities
dtgdate/time CLI utility and library

Best Free and Open Source Software 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.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted