datefmt

format unix timestamps over stdin
git clone git://jb55.com/datefmt
Log | Files | Refs | README | LICENSE

README (609B)


      1 usage: datefmt [OPTION...] [FORMAT]
      2 
      3 format unix timestamps from stdin
      4 
      5   -a, --after <timestamp>  only format timestamps after this date (default: 2000-01-01Z)
      6   -b, --before <timestamp> only format timestamps before this date 
      7   -f, --future             only format timestamps in the future 
      8   -p, --past               only format timestamps in the past 
      9       --version	           display version information and exit 
     10 
     11   FORMAT
     12     a strftime format string, defaults to '%F %R'
     13 
     14   EXAMPLE
     15     datefmt --after $(date -d yesterday +%s) %R < spreadsheet.csv
     16 
     17   Created By: William Casarin <https://jb55.com>