Use this skill when the user wants to use 100-exercises-to-learn-rust.
The English summary is being prepared. Showing the original description.
Use this skill when the user wants to format, parse, add, subtract, or compare dates and times from the command line, or manipulate timestamps in log files.
The English summary is being prepared. Showing the original description.
Run score Not tested
See how to installReview the instructions the agent will receive before you install.
Datetime arithmetic, parsing, formatting, timezone conversion, sequence generation, and log timestamp tagging for the command line. By BurntSushi (author of ripgrep, xsv, and jiff).
biff time fmt — Format one or more timestampsbiff time add — Add a duration to a timestampbiff span since — Calculate the duration since a given timestampbiff self version — Print biff versionbiff _ _ — Passthrough to biff CLIcargo install biff
# Print the current time
biff _ _
# Format current time as RFC 3339
biff time fmt -f rfc3339 now
# Format current time as RFC 9557 (with timezone)
biff time fmt -f rfc9557 now
# Custom format
biff time fmt -f '%Y-%m-%d %H:%M:%S %Z' now
# Format multiple relative times
biff time fmt -f '%c' now -1d 'next sat' 'last monday' '9pm last mon'
# Add a duration to the current time
biff time add -1w now
# Add natural-language duration
biff time add '1 week, 12 hours ago' now
# Add 6 months
biff time add 6mo now
# Convert time to another timezone and round to nearest 15 minutes
biff time fmt now | biff _ _ time in Asia/Bangkok | biff _ _ time round -i 15 -s minute
# Calculate duration since a date
biff span since 2025-01-20T12:00
# Calculate duration with year-level precision
biff span since 2025-01-20T12:00 -l year
# Round a duration
biff span since 2025-01-20T12:00 | biff _ _ span round -l year -s day
# Generate a sequence of the next 5 weekdays at 9am
biff _ _ time seq day today -c5 -H 9 -w mon,wed,fri
# Generate all days remaining in the current month
biff _ _ time seq daily --until $(biff _ _ time end-of month now) today
# Generate the last weekday of each of the next 12 months
biff _ _ time seq -c12 monthly -w mon,tue,wed,thu,fri --set-position -1 | biff time fmt -f '%a, %Y-%m-%d'
# Reformat timestamps in a log file to local time
biff _ _ tag lines /tmp/access.log | biff _ _ time in system | biff time fmt -f '%c' | head -n3 | biff _ _ untag -s
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Use this skill when the user wants to use 100-exercises-to-learn-rust.
The English summary is being prepared. Showing the original description.
Use this skill when the user wants to use 2to3, cli tool: 2to3.
The English summary is being prepared. Showing the original description.
Use this skill when the user wants to use 2to3-2.7, cli tool: 2to3-2.7.
The English summary is being prepared. Showing the original description.
Use this skill when the user wants to use 2to3-3.11, cli tool: 2to3-3.11.
The English summary is being prepared. Showing the original description.
Use this skill when the user wants to use 411toppm, cli tool: 411toppm.
The English summary is being prepared. Showing the original description.
Use this skill when the user wants to use 53AIHub.
The English summary is being prepared. Showing the original description.