~jb55/datefmt

format unix timestamps in text streams
3 months ago

builds.sr.ht via public-inbox

3 months ago
usage: datefmt [OPTION...] [FORMAT]

format unix timestamps from stdin

  -a, --after <timestamp>  only format timestamps after this date 
      --version            display version information and exit 

  FORMAT
    a strftime format string, defaults to '%F %R'

  EXAMPLE
    datefmt --after $(date -d yesterday +%s) < spreadsheet.csv

  Created By: William Casarin <https://jb55.com>